github: Generalize the patterns for moving artifacts that are to be uploaded

Exclude the artifacts from the asserts build, if available.
This commit is contained in:
Martin Storsjö committed 2023-04-27 10:47:15 +03:00
1 parent 525489a018
commit 1ab52ba4a3
2 files changed
+4 -2

No files matched your search

+2 -1
View File
@@ -579,7 +579,8 @@ jobs:
uses: actions/download-artifact@v3
- name: Rearrange files
run: |
mv windows-*-toolchain/*.zip linux-toolchain/*.tar.xz macos-toolchain/*.tar.xz .
rm -rf linux-asserts*
mv *-toolchain/*.zip *-toolchain/*.tar.xz .
- name: Upload binaries
env:
GITHUB_TOKEN: ${{github.token}}