Skip to content

Commit a93d79b

Browse files
Release 2.0.16
1 parent 62bfc29 commit a93d79b

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

.github/workflows/push_pull.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
qt_version: ${{ matrix.qt_version }}
2929
event_name: ${{ github.event_name }}
3030
pull_request_number: ${{ github.event.pull_request.number }}
31-
publish: ${{ startsWith(github.event.ref, 'refs/tags') }}
31+
publish: ${{ startsWith(github.event.ref, 'refs/tags') && matrix.qt_version == '5' }}
3232

3333
# Build DEB/RPM Packages for APT/DNF Repository (runs only on tagged commits)
3434
repo_build:

.github/workflows/qt5_6.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ jobs:
8686
if: ${{ inputs.publish || inputs.event_name == 'pull_request' }}
8787
uses: actions/upload-artifact@v4
8888
with:
89-
name: ${{ inputs.event_name == 'pull_request' && env.NAME || 'artifact' }}
89+
name: ${{ inputs.event_name == 'pull_request' && env.NAME || format('artifact-{0}', env.NAME) }}
9090
path: ${{ inputs.event_name == 'pull_request' && 'deploy/*.tar.gz' || 'deploy/Hyperion-*' }}
9191
env:
9292
NAME: ${{ format('{0}_{1}_{2}{3}', matrix.os.distribution, matrix.os.codename, matrix.os.architecture[0], inputs.qt_version == '6' && '_qt6' || '') }}
@@ -130,7 +130,7 @@ jobs:
130130
if: ${{ inputs.publish || inputs.event_name == 'pull_request' }}
131131
uses: actions/upload-artifact@v4
132132
with:
133-
name: ${{ inputs.event_name == 'pull_request' && env.NAME || 'artifact' }}
133+
name: ${{ inputs.event_name == 'pull_request' && env.NAME || format('artifact-{0}', env.NAME) }}
134134
path: 'build/Hyperion-*'
135135
env:
136136
NAME: ${{ inputs.qt_version == '6' && 'macOS_x64_qt6' || 'macOS_x64' }}
@@ -200,7 +200,7 @@ jobs:
200200
if: ${{ inputs.publish || inputs.event_name == 'pull_request' }}
201201
uses: actions/upload-artifact@v4
202202
with:
203-
name: ${{ inputs.event_name == 'pull_request' && env.NAME || 'artifact' }}
203+
name: ${{ inputs.event_name == 'pull_request' && env.NAME || format('artifact-{0}', env.NAME) }}
204204
path: ${{ inputs.event_name == 'pull_request' && 'build/*.exe' || 'build/Hyperion-*' }}
205205
env:
206206
NAME: ${{ inputs.qt_version == '6' && 'windows_x64_qt6' || 'windows_x64' }}
@@ -228,14 +228,15 @@ jobs:
228228
- name: 💾 Artifact download
229229
uses: actions/download-artifact@v4.1.0
230230
with:
231-
path: artifacts
231+
pattern: artifact-*
232+
path: all-artifacts
232233

233234
- name: 📦 Upload
234235
uses: softprops/action-gh-release@v1
235236
with:
236237
name: Hyperion ${{ env.VERSION }}
237238
tag_name: ${{ env.TAG }}
238-
files: "artifacts/**"
239+
files: "all-artifacts/**"
239240
draft: true
240241
env:
241242
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)