mirror of
https://github.com/revanced/revanced-manager
synced 2024-05-14 13:56:57 +02:00
fix: update workflow actions (#482)
* fix: update workflow actions * fix: sign apk parameters
This commit is contained in:
parent
ec9ef98981
commit
14e9dd1c04
4
.github/workflows/crowdin.yml
vendored
4
.github/workflows/crowdin.yml
vendored
@ -16,10 +16,10 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Crowdin
|
- name: Crowdin
|
||||||
uses: crowdin/github-action@1.0.4
|
uses: crowdin/github-action@1.5.0
|
||||||
with:
|
with:
|
||||||
config: crowdin.yml
|
config: crowdin.yml
|
||||||
upload_translations: true
|
upload_translations: true
|
||||||
|
9
.github/workflows/debug-build.yml
vendored
9
.github/workflows/debug-build.yml
vendored
@ -11,12 +11,13 @@ jobs:
|
|||||||
release:
|
release:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v3
|
||||||
- name: Set up JDK 12
|
- name: Set up JDK 12
|
||||||
uses: actions/setup-java@v1
|
uses: actions/setup-java@v3
|
||||||
with:
|
with:
|
||||||
java-version: '12.x'
|
java-version: '12'
|
||||||
- uses: subosito/flutter-action@v1
|
distribution: 'zulu'
|
||||||
|
- uses: subosito/flutter-action@v2
|
||||||
with:
|
with:
|
||||||
channel: 'stable'
|
channel: 'stable'
|
||||||
- name: Set environment variables
|
- name: Set environment variables
|
||||||
|
17
.github/workflows/release-build.yml
vendored
17
.github/workflows/release-build.yml
vendored
@ -9,14 +9,15 @@ jobs:
|
|||||||
release:
|
release:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v3
|
||||||
- name: Set env
|
- name: Set env
|
||||||
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
|
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
|
||||||
- name: Set up JDK 12
|
- name: Set up JDK 12
|
||||||
uses: actions/setup-java@v1
|
uses: actions/setup-java@v3
|
||||||
with:
|
with:
|
||||||
java-version: '12.x'
|
java-version: '12'
|
||||||
- uses: subosito/flutter-action@v1
|
distribution: 'zulu'
|
||||||
|
- uses: subosito/flutter-action@v2
|
||||||
with:
|
with:
|
||||||
channel: 'stable'
|
channel: 'stable'
|
||||||
- name: Set environment variables
|
- name: Set environment variables
|
||||||
@ -36,12 +37,12 @@ jobs:
|
|||||||
run: flutter build apk
|
run: flutter build apk
|
||||||
- name: Sign APK
|
- name: Sign APK
|
||||||
id: sign_apk
|
id: sign_apk
|
||||||
uses: r0adkll/sign-android-release@v1
|
uses: ilharp/sign-android-release@v1
|
||||||
with:
|
with:
|
||||||
releaseDirectory: build/app/outputs/apk/release
|
releaseDir: build/app/outputs/apk/release
|
||||||
signingKeyBase64: ${{ secrets.SIGNING_KEYSTORE }}
|
signingKey: ${{ secrets.SIGNING_KEYSTORE }}
|
||||||
keyStorePassword: ${{ secrets.SIGNING_KEYSTORE_PASSWORD }}
|
keyStorePassword: ${{ secrets.SIGNING_KEYSTORE_PASSWORD }}
|
||||||
alias: ${{ secrets.SIGNING_KEY_ALIAS }}
|
keyAlias: ${{ secrets.SIGNING_KEY_ALIAS }}
|
||||||
keyPassword: ${{ secrets.SIGNING_KEY_PASSWORD }}
|
keyPassword: ${{ secrets.SIGNING_KEY_PASSWORD }}
|
||||||
- name: Add version to APK
|
- name: Add version to APK
|
||||||
run: mv ${{steps.sign_apk.outputs.signedReleaseFile}} revanced-manager-${{ env.RELEASE_VERSION }}.apk
|
run: mv ${{steps.sign_apk.outputs.signedReleaseFile}} revanced-manager-${{ env.RELEASE_VERSION }}.apk
|
||||||
|
Loading…
Reference in New Issue
Block a user