mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-22 22:36:00 +00:00
fix: source builds start a session again on storage without hard links (#2908)
This commit is contained in:
1 parent
dc9d1b81cc
commit
4e81030fb8
2 files changed
+9
-5
No files matched your search
@@ -619,14 +619,18 @@ jobs:
|
|||||||
export NDK="$ANDROID_HOME/ndk/$NDK_VERSION"
|
export NDK="$ANDROID_HOME/ndk/$NDK_VERSION"
|
||||||
tools/syncthing/build.sh app/src/main/jniLibs/arm64-v8a
|
tools/syncthing/build.sh app/src/main/jniLibs/arm64-v8a
|
||||||
|
|
||||||
- name: Note when the proot pack pin is behind this build
|
- name: Check the proot pack pin against this build
|
||||||
run: |
|
run: |
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
# shellcheck disable=SC1091
|
# shellcheck disable=SC1091
|
||||||
source tools/packs/proot/release.env
|
source tools/packs/proot/release.env
|
||||||
sha=$(sha256sum app/build/packs/proot.tar.zst | cut -d' ' -f1)
|
sha=$(sha256sum app/build/packs/proot.tar.zst | cut -d' ' -f1)
|
||||||
if [ "$sha" != "$PROOT_PACK_SHA256" ]; then
|
size=$(stat -c %s app/build/packs/proot.tar.zst)
|
||||||
echo "::warning::built proot pack $sha does not match tools/packs/proot/release.env ($PROOT_PACK_SHA256). This build publishes the pack it just built. Source builds keep downloading the pinned pack until release.env is updated."
|
if [ "$sha" != "$PROOT_PACK_SHA256" ] || [ "$size" != "$PROOT_PACK_SIZE" ]; then
|
||||||
|
level=warning
|
||||||
|
if [ "$GITHUB_EVENT_NAME" = pull_request ]; then level=error; fi
|
||||||
|
echo "::$level::built proot pack $sha ($size bytes) does not match tools/packs/proot/release.env ($PROOT_PACK_SHA256, $PROOT_PACK_SIZE bytes). Source builds download the pinned pack, so set PROOT_PACK_SHA256=$sha and PROOT_PACK_SIZE=$size in tools/packs/proot/release.env."
|
||||||
|
if [ "$level" = error ]; then exit 1; fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Check out MaliBridge
|
- name: Check out MaliBridge
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
PROOT_PACK_SHA256=5a2b7284e6357f88a14a790abd54e61effbe5f202c63b6aaba9b974c559649c3
|
PROOT_PACK_SHA256=7800e188363f2b99485e8b9e4f68ea77eb65b088ca66b9e508a3a0938acea394
|
||||||
PROOT_PACK_SIZE=96643
|
PROOT_PACK_SIZE=99536
|
||||||
Reference in new issue
Block a user