mirror of
https://github.com/usestrix/strix.git
synced 2026-10-06 02:48:10 +00:00
ci(release): publish a GitHub release only from a tag so a manual run just builds
This commit is contained in:
parent
86edf1c5ff
commit
6a3d2ec9b8
1 changed files with 1 additions and 1 deletions
2
.github/workflows/build-release.yml
vendored
2
.github/workflows/build-release.yml
vendored
|
|
@ -107,6 +107,7 @@ jobs:
|
|||
if-no-files-found: error
|
||||
|
||||
release:
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
needs: build
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
|
|
@ -121,6 +122,5 @@ jobs:
|
|||
- name: Create Release
|
||||
uses: softprops/action-gh-release@3bb12739c298aeb8a4eeaf626c5b8d85266b0e65 # v2.6.2
|
||||
with:
|
||||
prerelease: ${{ !startsWith(github.ref, 'refs/tags/') }}
|
||||
generate_release_notes: true
|
||||
files: release/**
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue