ci: fetch the APK after restoring the Rust cache
A cache restored without an exact match (Cargo.lock changed with the rustls update) cleans target/, which removed the downloaded APK, so the v0.42.0 release job stopped at INK_NOTES_REQUIRE_APK. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
17d0f07b9a
commit
19fc8dd3ca
1 file changed
+8
-6
@@ -19,12 +19,6 @@ jobs:
|
||||
- name: Checkout Repository
|
||||
uses: actions/checkout@v4.2.2
|
||||
|
||||
- name: Fetch Android APK
|
||||
uses: actions/download-artifact@v4.3.0
|
||||
with:
|
||||
name: ink-notes-android-apk
|
||||
path: target
|
||||
|
||||
- name: Install System Packaging Tools
|
||||
run: |
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
@@ -71,6 +65,14 @@ jobs:
|
||||
cargo clippy --all-targets -- -D warnings
|
||||
cargo test
|
||||
|
||||
# Only after the Rust cache step: restoring a cache that doesn't match exactly (e.g.
|
||||
# after Cargo.lock changed) cleans target/ and would remove the APK again
|
||||
- name: Fetch Android APK
|
||||
uses: actions/download-artifact@v4.3.0
|
||||
with:
|
||||
name: ink-notes-android-apk
|
||||
path: target
|
||||
|
||||
- name: Build Release Artifacts (.deb, .AppImage, .exe, .apk, SHA256SUMS.txt + .minisig)
|
||||
run: |
|
||||
chmod +x scripts/*.sh
|
||||
|
||||
Reference in new issue
Block a user