diff --git a/.gitea/workflows/release.yaml b/.gitea/workflows/release.yaml index e1a428f..ea70615 100644 --- a/.gitea/workflows/release.yaml +++ b/.gitea/workflows/release.yaml @@ -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