mirror of
https://github.com/PabloMK7/citra.git
synced 2025-09-09 12:20:04 +00:00
ci: Revert back to unzipped Android artifacts. (#7258)
This commit is contained in:
parent
a47d8a7b4d
commit
2e369c03b8
2 changed files with 13 additions and 6 deletions
16
.ci/pack.sh
16
.ci/pack.sh
|
@ -61,12 +61,20 @@ function pack_artifacts() {
|
|||
fi
|
||||
}
|
||||
|
||||
if [ -z "$PACK_INDIVIDUALLY" ]; then
|
||||
# Pack all of the artifacts at once.
|
||||
pack_artifacts build/bundle
|
||||
else
|
||||
if [ -n "$UNPACKED" ]; then
|
||||
# Copy the artifacts to be uploaded unpacked.
|
||||
for ARTIFACT in build/bundle/*; do
|
||||
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.
|
||||
for ARTIFACT in build/bundle/*; do
|
||||
pack_artifacts "$ARTIFACT"
|
||||
done
|
||||
else
|
||||
# Pack all of the artifacts into a single archive.
|
||||
pack_artifacts build/bundle
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue