Skip to content

Commit

Permalink
build: fix linux artifact release conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
anfragment committed Feb 23, 2024
1 parent 860f80f commit cfca568
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,14 +82,14 @@ jobs:
name: Zen_linux_${{ matrix.arch }}_noselfupdate
path: Zen_linux_${{ matrix.arch }}_noselfupdate.tar.gz
- name: Release Linux Binary Artifact
if: runner.os == 'Linux'
if: runner.os == 'Linux' && startsWith(github.ref, 'refs/tags/v')
uses: softprops/action-gh-release@v1
with:
files: Zen_linux_${{ matrix.arch }}.tar.gz
tag_name: ${{ github.ref }}
draft: true
- name: Release Linux Binary With Self-Updates Disabled Artifact
if: runner.os == 'Linux'
if: runner.os == 'Linux' && startsWith(github.ref, 'refs/tags/v')
uses: softprops/action-gh-release@v1
with:
files: Zen_linux_${{ matrix.arch }}_noselfupdate.tar.gz
Expand Down

0 comments on commit cfca568

Please sign in to comment.