From 9024539e08252be3a6f9883db8cd55862f99685f Mon Sep 17 00:00:00 2001 From: Pun Butrach Date: Tue, 22 Oct 2024 23:58:34 +0700 Subject: [PATCH] ci: Find ReVanced APK to attest --- .github/workflows/release.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 93f5578d..f9f38f64 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -66,7 +66,13 @@ jobs: run: | npx semantic-release -d + - name: Find APK file + id: find_apk + run: | + APK_LOCATION=$(find build/app/outputs/flutter-apk/ -name "revanced-manager-*.apk") + echo "APK_LOCATION=$APK_LOCATION" >> $GITHUB_ENV + - name: 🛰️ Generate artifact attestation uses: actions/attest-build-provenance@v1 with: - subject-path: 'build/app/outputs/apk/release/revanced-manager-*.apk' + subject-path: ${{ env.APK_LOCATION }}