Skip to content

Commit d6a3746

Browse files
committed
Fix #5868 Try to repair trigger of steps in workflow
1 parent ec93376 commit d6a3746

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/integration-tests.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,13 +178,13 @@ jobs:
178178
name: Windows
179179
path: _release
180180
- name: Download Linux-ARM64 artifact
181-
if: contains(needs.configuration.outputs.runners, 'arm64')
181+
if: needs.configuration.outputs.test-arm64 == 'true'
182182
uses: actions/download-artifact@v3
183183
with:
184184
name: Linux-ARM64
185185
path: _release
186186
- name: Hash and sign assets
187-
if: needs.configuration.outputs.can-sign
187+
if: needs.configuration.outputs.can-sign == 'true'
188188
shell: bash
189189
env:
190190
RELEASE_SIGNING_KEY: ${{ secrets.RELEASE_SIGNING_KEY }}
@@ -201,6 +201,7 @@ jobs:
201201
run: |
202202
echo ::set-output name=SOURCE_TAG::${GITHUB_REF#refs/tags/}
203203
- name: Create GitHub release (final)
204+
id: github_release_final
204205
if: "!startsWith(github.ref, 'refs/tags/rc/')"
205206
uses: ncipollo/[email protected]
206207
env:
@@ -220,6 +221,7 @@ jobs:
220221
draft: true
221222
prerelease: false
222223
- name: Create GitHub release (release candidate)
224+
id: github_release_rc
223225
if: "startsWith(github.ref, 'refs/tags/rc/')"
224226
uses: ncipollo/[email protected]
225227
env:
@@ -243,6 +245,7 @@ jobs:
243245
draft: true
244246
prerelease: false
245247
overwrite: true
248+
release_id: ${{ steps.github_release_final.outputs.id }}
246249
- name: Upload assets to GitHub release (release candidate)
247250
if: "startsWith(github.ref, 'refs/tags/rc/')"
248251
uses: xresloader/upload-to-github-release@v1
@@ -254,3 +257,4 @@ jobs:
254257
draft: true
255258
prerelease: true
256259
overwrite: true
260+
release_id: ${{ steps.github_release_rc.outputs.id }}

0 commit comments

Comments
 (0)