mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-12-25 01:11:48 +01:00
Streamlined produced build files
- Android App Bundles are no longer produced - 7Zip compressed archives are no longer produced
This commit is contained in:
parent
0de85f6701
commit
360d61131e
16
.ci/pack.sh
16
.ci/pack.sh
@ -46,20 +46,8 @@ function pack_artifacts() {
|
|||||||
tar czvf "$ARCHIVE_FULL_NAME" "$REV_NAME"
|
tar czvf "$ARCHIVE_FULL_NAME" "$REV_NAME"
|
||||||
fi
|
fi
|
||||||
mv "$ARCHIVE_FULL_NAME" artifacts/
|
mv "$ARCHIVE_FULL_NAME" artifacts/
|
||||||
|
# Clean up created rev artifacts directory.
|
||||||
if [ -z "$SKIP_7Z" ]; then
|
rm -rf "$REV_NAME"
|
||||||
# Create .7z
|
|
||||||
ARCHIVE_FULL_NAME="$ARCHIVE_NAME.7z"
|
|
||||||
mv "$REV_NAME" "$RELEASE_NAME"
|
|
||||||
7z a "$ARCHIVE_FULL_NAME" "$RELEASE_NAME"
|
|
||||||
mv "$ARCHIVE_FULL_NAME" artifacts/
|
|
||||||
|
|
||||||
# Clean up created release artifacts directory.
|
|
||||||
rm -rf "$RELEASE_NAME"
|
|
||||||
else
|
|
||||||
# Clean up created rev artifacts directory.
|
|
||||||
rm -rf "$REV_NAME"
|
|
||||||
fi
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if [ -n "$UNPACKED" ]; then
|
if [ -n "$UNPACKED" ]; then
|
||||||
|
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@ -284,4 +284,4 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
asset_paths: '["./**/*.tar.*","./**/*.AppImage","./**/*.7z","./**/*.zip","./**/*.apk","./**/*.aab"]'
|
asset_paths: '["./**/*.tar.*","./**/*.AppImage","./**/*.zip","./**/*.apk"]'
|
||||||
|
@ -278,11 +278,6 @@ android.applicationVariants.configureEach {
|
|||||||
include("*.apk")
|
include("*.apk")
|
||||||
into(layout.buildDirectory.dir("bundle"))
|
into(layout.buildDirectory.dir("bundle"))
|
||||||
}
|
}
|
||||||
project.copy {
|
|
||||||
from(layout.buildDirectory.dir("outputs/bundle/${variant.name}"))
|
|
||||||
include("*.aab")
|
|
||||||
into(layout.buildDirectory.dir("bundle"))
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
tasks.named("bundle${capitalizedName}").configure { finalizedBy(copyTask) }
|
tasks.named("bundle${capitalizedName}").configure { finalizedBy(copyTask) }
|
||||||
|
Loading…
Reference in New Issue
Block a user