Git Actions 1 #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Note: In a yml each level is padded by 2 spaces | |
name: Flutter | |
on: | |
# Runs this action when you push on master | |
push: | |
branches: [ "main" ] | |
# Runs this when a PR against master is created | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
flutter_job: | |
# The machine, we can also use windows-latest or ubuntu-latest | |
# We are choosing macos-latest because we will be also building for iOS | |
runs-on: macos-latest | |
steps: | |
# Clones the project on the machine | |
- uses: actions/checkout@v4 |