Skip to content

Commit 9de1b49

Browse files
authored
Clean up inner zip file after extraction
Remove the inner zip file after extraction to clean up the build directory.
1 parent b79ce57 commit 9de1b49

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/receive-beta-build.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ jobs:
2323
curl -L -H "Authorization: token ${TOKEN}" -o htmlplayer-build.zip "${ARTIFACT_URL}"
2424
unzip htmlplayer-build.zip -d temp-build
2525
unzip temp-build/htmlplayer-build.zip -d temp-build
26-
26+
rm temp-build/htmlplayer-build.zip # Remove the inner zip so only build files are moved
27+
2728
- name: Clear and copy to subfolder
2829
run: |
2930
SUBFOLDER="${{ github.event.client_payload.subfolder }}"
@@ -32,6 +33,8 @@ jobs:
3233
rm -rf "${SUBFOLDER}"/*
3334
mkdir -p "${SUBFOLDER}"
3435
mv temp-build/* "${SUBFOLDER}/"
36+
echo "Contents after move:"
37+
ls -la "${SUBFOLDER}/" # Debug: list contents
3538
3639
- name: Commit and push
3740
run: |

0 commit comments

Comments
 (0)