mirror of
https://github.com/JGeek00/adguard-home-manager.git
synced 2025-05-14 14:02:48 +00:00
Rename resulting files
This commit is contained in:
parent
6e89228493
commit
620a6472ff
1 changed files with 6 additions and 2 deletions
8
.github/workflows/release.yaml
vendored
8
.github/workflows/release.yaml
vendored
|
@ -14,7 +14,7 @@ jobs:
|
||||||
name: Build APK and Create release
|
name: Build APK and Create release
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v3
|
||||||
- name: Decode android/app/keystore.jks
|
- name: Decode android/app/keystore.jks
|
||||||
run: echo "${{ secrets.KEYSTORE_JKS }}" | base64 --decode > android/app/keystore.jks
|
run: echo "${{ secrets.KEYSTORE_JKS }}" | base64 --decode > android/app/keystore.jks
|
||||||
- name: Decode android/key.properties
|
- name: Decode android/key.properties
|
||||||
|
@ -37,10 +37,14 @@ jobs:
|
||||||
- run: flutter pub get
|
- run: flutter pub get
|
||||||
- run: flutter build apk --release
|
- run: flutter build apk --release
|
||||||
- run: flutter build appbundle --release
|
- run: flutter build appbundle --release
|
||||||
|
- name: Rename apk
|
||||||
|
run: mv build/app/outputs/apk/release/app-release.apk build/app/outputs/apk/release/AdGuardHomeManager_{{ github.event.inputs.version }}_Android.apk
|
||||||
|
- name: Rename aab
|
||||||
|
run: mv build/app/outputs/apk/release/app-release.aab build/app/outputs/apk/release/AdGuardHomeManager_{{ github.event.inputs.version }}_Android.aab
|
||||||
- name: Create a Release in GitHub
|
- name: Create a Release in GitHub
|
||||||
uses: ncipollo/release-action@v1
|
uses: ncipollo/release-action@v1
|
||||||
with:
|
with:
|
||||||
artifacts: "build/app/outputs/apk/release/*.apk,build/app/outputs/bundle/release/app-release.aab"
|
artifacts: "build/app/outputs/apk/release/AdGuardHomeManager_{{ github.event.inputs.version }}_Android.apk,build/app/outputs/bundle/release/AdGuardHomeManager_{{ github.event.inputs.version }}_Android.aab"
|
||||||
token: ${{ secrets.GH_TOKEN }}
|
token: ${{ secrets.GH_TOKEN }}
|
||||||
tag: ${{ github.event.inputs.version }}
|
tag: ${{ github.event.inputs.version }}
|
||||||
commit: ${{ github.sha }}
|
commit: ${{ github.sha }}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue