diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3bbf769..b62d859 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,19 +1,21 @@ on: release: types: [created] -name: Handle Release + jobs: - generate: - name: Create release-artifacts + release: + name: release ${{ matrix.target }} runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + target: [x86_64-pc-windows-gnu, x86_64-unknown-linux-musl] steps: - - name: Checkout the repository - uses: actions/checkout@master - - name: Generate the artifacts - uses: skx/github-action-build@master - - name: Upload the artifacts - uses: skx/github-action-publish-binaries@master + - uses: actions/checkout@master + - name: Compile and release + uses: rust-build/rust-build.action@v1.4.3 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - args: 'rexec-*' + RUSTTARGET: ${{ matrix.target }} + EXTRA_FILES: "README.md LICENSE"