From 63862bf44b822653c13c551d464f7019213307a7 Mon Sep 17 00:00:00 2001 From: House of Vanity Date: Sun, 18 Jun 2023 13:35:29 +0300 Subject: [PATCH] Update release.yml --- .github/workflows/release.yml | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) 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"