Skip to content

Commit

Permalink
Fix workflow warnings (#78)
Browse files Browse the repository at this point in the history
* Update to specific Ubuntu version and using v4 /upload-artifact

* Fix step names

* Unique naming
  • Loading branch information
Matej-Hlatky authored Jan 31, 2025
1 parent 706e1e4 commit 225094e
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/android_package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ permissions:
jobs:
build:
environment: packaging
runs-on: ubuntu-latest
runs-on: ubuntu-24.04

steps:
- name: Checkout
Expand Down Expand Up @@ -50,7 +50,7 @@ jobs:
working-directory: ./app
run: echo $ENCODED_STRING | base64 -d > release_keystore.jks

- name: Build Googla Play .aab
- name: Build Google Play .aab
env:
AVM_KEYSTORE_FILE: ../../release_keystore.jks
AVM_KEYSTORE_PASSWORD: ${{ secrets.GOOGLE_RELEASE_KEYSTORE_PASSWORD }}
Expand All @@ -60,7 +60,7 @@ jobs:
working-directory: ./app
run: flutter build appbundle --release

- name: Build Andorid .apk
- name: Build Android .apk
env:
AVM_KEYSTORE_FILE: ../../release_keystore.jks
AVM_KEYSTORE_PASSWORD: ${{ secrets.GOOGLE_RELEASE_KEYSTORE_PASSWORD }}
Expand All @@ -71,15 +71,15 @@ jobs:
run: flutter build apk --release

- name: Upload .aab Build to Artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: release-artifacts
name: release-artifacts_${{ github.run_id }}.aab
path: ./app/build/app/outputs/bundle/release/app-release.aab

- name: Upload .apk Build to Artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: release-artifacts
name: release-artifacts_${{ github.run_id }}.apk
path: ./app/build/app/outputs/apk/release/app-release.apk

- name: Create release if tag pushed
Expand Down

0 comments on commit 225094e

Please sign in to comment.