chore: enable version updates for Github Actions #546
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
name: Build | |
on: | |
pull_request: | |
branches: ["flutter"] | |
jobs: | |
common: | |
name: Common Build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Common Workflow | |
uses: ./.github/actions/common | |
- name: Save PR number | |
run: | | |
mkdir -p ./pr | |
echo ${{ github.event.number }} > ./pr/NR | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: pr | |
path: pr/ | |
android: | |
name: Android Flutter Build | |
needs: common | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Android Workflow | |
uses: ./.github/actions/android | |
ios: | |
name: iOS Flutter Build | |
needs: common | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: iOS Workflow | |
uses: ./.github/actions/ios |