Skip to content

Commit c433beb

Browse files
committed
build: Move build artifacts from each folder
- github_actions/actions/download-artifacts-4 - github_actions/actions/upload-artifacts-4 Recently, GitHub updated these two actions to have different artifact names for all build outputs, so if we set it to dnwload all artifacts on download, it creates a folder for each artifact name and saves the build outputs. so we change it to move the files saved in each folder to the parent directory. Related: - 9fb0528 - 447a2c7 - https://github.blog/changelog/2023-12-14-github-actions-artifacts-v4-is-now-generally-available/
1 parent 447a2c7 commit c433beb

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,11 @@ jobs:
2626
with:
2727
path: target
2828

29+
- run: find target -type f -exec mv {} target \;
30+
2931
- name: Unarchive Windows's build artifacts
3032
run: for f in target/*.zip; do unzip -d target/ "$f"; done
31-
33+
3234
- name: Remove archived Windows's build artifacts
3335
run: rm target/build-artifacts-*.zip
3436

@@ -56,9 +58,11 @@ jobs:
5658
with:
5759
path: target
5860

59-
- name: Unarchive Windows's buildㅍ artifacts
61+
- run: find target -type f -exec mv {} target \;
62+
63+
- name: Unarchive Windows's build artifacts
6064
run: for f in target/*.zip; do unzip -d target/ "$f"; done
61-
65+
6266
- name: Remove archived Windows's build artifacts
6367
run: rm target/build-artifacts-*.zip
6468

0 commit comments

Comments
 (0)