Skip to content

Commit

Permalink
Publish version file only once
Browse files Browse the repository at this point in the history
Reason: Because upload-artifact v4 supports only one file and overwriting is not possible
  • Loading branch information
Murmele committed Nov 4, 2024
1 parent 71abae6 commit 6d9b177
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -308,8 +308,9 @@ jobs:
path: build/release/pack/Gittyup-*
name: Gittyup ${{ matrix.env.name }}

# Publish only once!
- name: Publish version file
if: matrix.env.pack && !matrix.qt.check_only
if: matrix.env.pack && !matrix.qt.check_only && matrix.env.name == 'win64'
uses: actions/upload-artifact@v4
with:
path: build/release/Version.txt
Expand Down

0 comments on commit 6d9b177

Please sign in to comment.