Skip to content

Commit

Permalink
-
Browse files Browse the repository at this point in the history
  • Loading branch information
mminhlequang committed Dec 29, 2023
1 parent 620ba5e commit 2419063
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ name: Build & deploy
on:
push:
branches:
- master
- main
pull_request:
branches:
- master
- main

jobs:
build:
Expand All @@ -20,7 +20,7 @@ jobs:
- name: Install Flutter
uses: subosito/flutter-action@v1
with:
flutter-version: '2.0.5'
flutter-version: '3.16.5'

- name: Get dependencies
run: flutter pub get
Expand All @@ -41,7 +41,7 @@ jobs:
name: Deploy
needs: build
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master'
if: github.ref == 'refs/heads/main'

steps:
- name: Download artifact
Expand Down

0 comments on commit 2419063

Please sign in to comment.