Skip to content

Commit 1ab52ba

Browse files
committed
github: Generalize the patterns for moving artifacts that are to be uploaded
Exclude the artifacts from the asserts build, if available.
1 parent 525489a commit 1ab52ba

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -579,7 +579,8 @@ jobs:
579579
uses: actions/download-artifact@v3
580580
- name: Rearrange files
581581
run: |
582-
mv windows-*-toolchain/*.zip linux-toolchain/*.tar.xz macos-toolchain/*.tar.xz .
582+
rm -rf linux-asserts*
583+
mv *-toolchain/*.zip *-toolchain/*.tar.xz .
583584
- name: Upload binaries
584585
env:
585586
GITHUB_TOKEN: ${{github.token}}

.github/workflows/upload-artifacts.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ jobs:
2828
commit: ${{inputs.commit}}
2929
- name: Rearrange files
3030
run: |
31-
mv windows-*-toolchain/*.zip linux-toolchain/*.tar.xz macos-toolchain/*.tar.xz .
31+
rm -rf linux-asserts*
32+
mv *-toolchain/*.zip *-toolchain/*.tar.xz .
3233
- name: Upload binaries
3334
env:
3435
GITHUB_TOKEN: ${{github.token}}

0 commit comments

Comments
 (0)