Skip to content

Commit

Permalink
updated dependencies for workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Nailsonseat committed Jan 23, 2024
1 parent be296ad commit 21fd121
Showing 1 changed file with 13 additions and 9 deletions.
22 changes: 13 additions & 9 deletions .github/workflows/flutter_build_apk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,23 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-java@v1
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: "12.x"
- uses: subosito/flutter-action@v1
- uses: subosito/flutter-action@v2
with:
channel: "beta"
- working-directory: ./frontend
- run: flutter pub get
- run: flutter format --set-exit-if-changed .
- run: flutter analyze .
- run: flutter build apk
- uses: actions/upload-artifact@v1
- name: Get dependencies
run: flutter pub get
- name: Format code
run: flutter format --set-exit-if-changed .
- name: Analyze code
run: flutter analyze .
- name: Build APK
run: flutter build apk
- name: Upload APK artifact
uses: actions/upload-artifact@v2
with:
name: release-apk
path: build/app/outputs/apk/release/app-release.apk

0 comments on commit 21fd121

Please sign in to comment.