Skip to content

Commit 034aca3

Browse files
authored
Use folded style for upload syntax
1 parent 7ee2ca4 commit 034aca3

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/autobuild.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -418,8 +418,10 @@ jobs:
418418
- name: Deploy Artifacts to Release
419419
if: needs.create_release.outputs.publish_to_release == 'true'
420420
id: upload-release-assets
421-
run: |
422-
gh release upload "${{ needs.create_release.outputs.tag_name }}" "deploy/${{ steps.get-artifacts.outputs.artifact_1 }}" "deploy/${{ steps.get-artifacts.outputs.artifact_2 }}" --clobber || gh release upload "${{ needs.create_release.outputs.tag_name }}" "deploy/${{ steps.get-artifacts.outputs.artifact_1 }}" --clobber
421+
run: >
422+
gh release upload "${{ needs.create_release.outputs.tag_name }}" "deploy/${{ steps.get-artifacts.outputs.artifact_1 }}" "deploy/${{ steps.get-artifacts.outputs.artifact_2 }}" --clobber
423+
||
424+
gh release upload "${{ needs.create_release.outputs.tag_name }}" "deploy/${{ steps.get-artifacts.outputs.artifact_1 }}" --clobber
423425
env:
424426
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
425427

0 commit comments

Comments
 (0)