From 14e9dd1c049cab3490870f96c750959268db08ef Mon Sep 17 00:00:00 2001 From: Nico Mexis Date: Sat, 26 Nov 2022 14:34:14 +0100 Subject: [PATCH] fix: update workflow actions (#482) * fix: update workflow actions * fix: sign apk parameters --- .github/workflows/crowdin.yml | 4 ++-- .github/workflows/debug-build.yml | 9 +++++---- .github/workflows/release-build.yml | 17 +++++++++-------- 3 files changed, 16 insertions(+), 14 deletions(-) diff --git a/.github/workflows/crowdin.yml b/.github/workflows/crowdin.yml index c82f2577..51ac3996 100644 --- a/.github/workflows/crowdin.yml +++ b/.github/workflows/crowdin.yml @@ -16,10 +16,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Crowdin - uses: crowdin/github-action@1.0.4 + uses: crowdin/github-action@1.5.0 with: config: crowdin.yml upload_translations: true diff --git a/.github/workflows/debug-build.yml b/.github/workflows/debug-build.yml index c7dccdc0..00ec27b7 100644 --- a/.github/workflows/debug-build.yml +++ b/.github/workflows/debug-build.yml @@ -11,12 +11,13 @@ jobs: release: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v3 - name: Set up JDK 12 - uses: actions/setup-java@v1 + uses: actions/setup-java@v3 with: - java-version: '12.x' - - uses: subosito/flutter-action@v1 + java-version: '12' + distribution: 'zulu' + - uses: subosito/flutter-action@v2 with: channel: 'stable' - name: Set environment variables diff --git a/.github/workflows/release-build.yml b/.github/workflows/release-build.yml index db0f1ae9..ec4d2e47 100644 --- a/.github/workflows/release-build.yml +++ b/.github/workflows/release-build.yml @@ -9,14 +9,15 @@ jobs: release: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v3 - name: Set env run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV - name: Set up JDK 12 - uses: actions/setup-java@v1 + uses: actions/setup-java@v3 with: - java-version: '12.x' - - uses: subosito/flutter-action@v1 + java-version: '12' + distribution: 'zulu' + - uses: subosito/flutter-action@v2 with: channel: 'stable' - name: Set environment variables @@ -36,12 +37,12 @@ jobs: run: flutter build apk - name: Sign APK id: sign_apk - uses: r0adkll/sign-android-release@v1 + uses: ilharp/sign-android-release@v1 with: - releaseDirectory: build/app/outputs/apk/release - signingKeyBase64: ${{ secrets.SIGNING_KEYSTORE }} + releaseDir: build/app/outputs/apk/release + signingKey: ${{ secrets.SIGNING_KEYSTORE }} keyStorePassword: ${{ secrets.SIGNING_KEYSTORE_PASSWORD }} - alias: ${{ secrets.SIGNING_KEY_ALIAS }} + keyAlias: ${{ secrets.SIGNING_KEY_ALIAS }} keyPassword: ${{ secrets.SIGNING_KEY_PASSWORD }} - name: Add version to APK run: mv ${{steps.sign_apk.outputs.signedReleaseFile}} revanced-manager-${{ env.RELEASE_VERSION }}.apk