Skip to content

Commit

Permalink
Fix release of binaries on GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
althonos committed Sep 26, 2022
1 parent 3bd6f73 commit 63a6341
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ jobs:
needs: release
name: Upload ${{ matrix.target }}
runs-on: ubuntu-latest
if: "startsWith(github.ref, 'refs/tags/v')"
strategy:
fail-fast: false
matrix:
Expand All @@ -109,6 +110,7 @@ jobs:
steps:
- uses: actions/checkout@master
- name: Compile release archives
id: compile
uses: rust-build/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -117,7 +119,6 @@ jobs:
EXTRA_FILES: "README.md CHANGELOG.md COPYING"
ARCHIVE_TYPES: ${{ matrix.archive }}
- name: Release archives
if: startsWith(github.ref, 'refs/tags/')
uses: softprops/action-gh-release@v1
with:
files: |
Expand Down

0 comments on commit 63a6341

Please sign in to comment.