Skip to content

Commit

Permalink
Merge pull request #1 from AbdouAbarchiAboubacar/hotfixes
Browse files Browse the repository at this point in the history
Trying to Fix workflow bugs.
  • Loading branch information
ab3masta authored Mar 10, 2023
2 parents 3776f51 + 18eabf5 commit de2b159
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/firebase-hosting-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,15 @@ jobs:

build_apk:
name: Generate apk files
needs: [flutter_test]
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Setup Java environment in order to build the Android app.
- uses: actions/checkout@v3
- uses: actions/setup-java@v1
with:
java-version: '18.x'
java-version: '11.x'
# Setup the flutter environment.
- uses: subosito/flutter-action@v2
with:
Expand All @@ -43,20 +44,22 @@ jobs:
- name: Build apk
run: flutter build apk
# Upload generated apk to the artifacts.
- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@master
with:
name: release-apk
path: build/app/outputs/apk/release/app-release.apk

build_appundle:
name: Generate apk files
needs: [flutter_test]
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Setup Java environment in order to build the Android app.
- uses: actions/checkout@v3
- uses: actions/setup-java@v1
with:
java-version: '18.x'
java-version: '11.x'
# Setup the flutter environment.
- uses: subosito/flutter-action@v2
with:
Expand All @@ -67,9 +70,9 @@ jobs:
- name: Build appbundle
run: flutter build appbundle
# Upload generated apk to the artifacts.
- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@master
with:
name: release-apk
name: release-appbundle
path: build/app/outputs/bundle/release/app-release.aab

build_web:
Expand Down

0 comments on commit de2b159

Please sign in to comment.