Skip to content

Commit

Permalink
Only package when on tag
Browse files Browse the repository at this point in the history
  • Loading branch information
LordOsslor committed Nov 5, 2023
1 parent 647fc25 commit 2026a7c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ jobs:
tar czvf ../../../${{ matrix.platform.name }} ${{ matrix.platform.bin }}
fi
cd -
# if: |
# matrix.toolchain == 'stable' &&
# ( startsWith( github.ref, 'refs/tags/v' ) ||
# github.ref == 'refs/tags/test-release' )
if: |
matrix.toolchain == 'stable' &&
( startsWith( github.ref, 'refs/tags/v' ) ||
github.ref == 'refs/tags/test-release' )
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
Expand Down

0 comments on commit 2026a7c

Please sign in to comment.