|
86 | 86 | if: ${{ inputs.publish || inputs.event_name == 'pull_request' }} |
87 | 87 | uses: actions/upload-artifact@v4 |
88 | 88 | 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) }} |
90 | 90 | path: ${{ inputs.event_name == 'pull_request' && 'deploy/*.tar.gz' || 'deploy/Hyperion-*' }} |
91 | 91 | env: |
92 | 92 | 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: |
130 | 130 | if: ${{ inputs.publish || inputs.event_name == 'pull_request' }} |
131 | 131 | uses: actions/upload-artifact@v4 |
132 | 132 | 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) }} |
134 | 134 | path: 'build/Hyperion-*' |
135 | 135 | env: |
136 | 136 | NAME: ${{ inputs.qt_version == '6' && 'macOS_x64_qt6' || 'macOS_x64' }} |
@@ -200,7 +200,7 @@ jobs: |
200 | 200 | if: ${{ inputs.publish || inputs.event_name == 'pull_request' }} |
201 | 201 | uses: actions/upload-artifact@v4 |
202 | 202 | 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) }} |
204 | 204 | path: ${{ inputs.event_name == 'pull_request' && 'build/*.exe' || 'build/Hyperion-*' }} |
205 | 205 | env: |
206 | 206 | NAME: ${{ inputs.qt_version == '6' && 'windows_x64_qt6' || 'windows_x64' }} |
@@ -228,14 +228,15 @@ jobs: |
228 | 228 | - name: 💾 Artifact download |
229 | 229 | uses: actions/download-artifact@v4.1.0 |
230 | 230 | with: |
231 | | - path: artifacts |
| 231 | + pattern: artifact-* |
| 232 | + path: all-artifacts |
232 | 233 |
|
233 | 234 | - name: 📦 Upload |
234 | 235 | uses: softprops/action-gh-release@v1 |
235 | 236 | with: |
236 | 237 | name: Hyperion ${{ env.VERSION }} |
237 | 238 | tag_name: ${{ env.TAG }} |
238 | | - files: "artifacts/**" |
| 239 | + files: "all-artifacts/**" |
239 | 240 | draft: true |
240 | 241 | env: |
241 | 242 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
0 commit comments