Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Codel1417 authored May 3, 2024
1 parent 8b65dfc commit 1f35e8f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
flutter: [3.19.2,3.x]
name: Build
runs-on: ${{ matrix.os }}
outputs:
Expand All @@ -52,7 +53,7 @@ jobs:
cache: 'gradle'
- uses: subosito/flutter-action@v2
with:
flutter-version: '3.19.2'
flutter-version: ${{ matrix.os }}
cache: true
- name: Run build script
id: build
Expand All @@ -63,7 +64,7 @@ jobs:
GITHUB_EVENT_NAME: ${{ github.event_name }}
OS: ${{ matrix.os }}
- uses: actions/upload-artifact@v4
name: artifact-${{ matrix.os }}
name: artifact-${{ matrix.os }}-${{ matrix.flutter }}
with:
path: |
build/app/outputs/apk
Expand Down

0 comments on commit 1f35e8f

Please sign in to comment.