citra-emu
/
citra
Archived
1
0
Fork 0

ci: Revert back to unzipped Android artifacts. (#7258)

This commit is contained in:
Steveice10 2023-12-19 18:51:47 -08:00 committed by GitHub
parent a47d8a7b4d
commit 2e369c03b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 6 deletions

View File

@ -61,12 +61,20 @@ function pack_artifacts() {
fi fi
} }
if [ -z "$PACK_INDIVIDUALLY" ]; then if [ -n "$UNPACKED" ]; then
# Pack all of the artifacts at once. # Copy the artifacts to be uploaded unpacked.
pack_artifacts build/bundle for ARTIFACT in build/bundle/*; do
else FILENAME=$(basename "$ARTIFACT")
EXTENSION="${FILENAME##*.}"
mv "$ARTIFACT" "artifacts/$REV_NAME.$EXTENSION"
done
elif [ -n "$PACK_INDIVIDUALLY" ]; then
# Pack and upload the artifacts one-by-one. # Pack and upload the artifacts one-by-one.
for ARTIFACT in build/bundle/*; do for ARTIFACT in build/bundle/*; do
pack_artifacts "$ARTIFACT" pack_artifacts "$ARTIFACT"
done done
else
# Pack all of the artifacts into a single archive.
pack_artifacts build/bundle
fi fi

View File

@ -226,8 +226,7 @@ jobs:
run: ../../../.ci/pack.sh run: ../../../.ci/pack.sh
working-directory: src/android/app working-directory: src/android/app
env: env:
PACK_INDIVIDUALLY: 1 UNPACKED: 1
SKIP_7Z: 1
- name: Upload - name: Upload
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with: