Merge pull request #4 from g3rv4/moar-runtimes

Add more executable runtimes
This commit is contained in:
Gervasio Marchand 2022-12-15 21:08:17 -08:00 committed by GitHub
commit 29bc4435e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 3 deletions

View File

@ -1,5 +1,7 @@
name: build name: build
on: push on:
pull_request:
types: [ synchronize ]
jobs: jobs:
build: build:

View File

@ -8,11 +8,11 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
matrix: matrix:
runtime: [ win-x64, linux-x64 ] runtime: [ win-x64, linux-x64, linux-arm64, osx-x64 ]
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Build Windows artifact - name: Build artifact
shell: pwsh shell: pwsh
run: | run: |
mkdir output mkdir output
@ -54,6 +54,14 @@ jobs:
with: with:
name: linux-x64 name: linux-x64
path: artifacts/linux-x64 path: artifacts/linux-x64
- uses: actions/download-artifact@master
with:
name: linux-arm64
path: artifacts/linux-arm64
- uses: actions/download-artifact@master
with:
name: osx-x64
path: artifacts/osx-x64
- name: Release - name: Release
uses: softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844 uses: softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844
with: with:
@ -62,6 +70,8 @@ jobs:
files: | files: |
artifacts/win-x64/*.zip artifacts/win-x64/*.zip
artifacts/linux-x64/*.tgz artifacts/linux-x64/*.tgz
artifacts/linux-arm64/*.tgz
artifacts/osx-x64/*.tgz
create-docker-image: create-docker-image:
runs-on: ubuntu-latest runs-on: ubuntu-latest