From b4ae9ef037588dea0b69ac6a10b34e24c6009c7c Mon Sep 17 00:00:00 2001 From: Vishesh Handa Date: Mon, 27 Jun 2022 13:32:28 +0200 Subject: [PATCH] Avoid having to bump the macos github action --- .github/workflows/macos.yml | 5 ++++- docs/bump-flutter.md | 1 - 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 9eb1bf19..fe6d3ca7 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -17,9 +17,12 @@ jobs: - uses: actions/checkout@v1 - name: Install Deps run: brew install git-crypt md5sha1sum gnu-sed create-dmg xmlstarlet + - name: Get Flutter version + id: get-flutter-version + uses: zgosalvez/github-actions-get-flutter-version-env@v1 - uses: subosito/flutter-action@v1 with: - flutter-version: "3.0.3" + flutter-version: ${{ steps.get-flutter-version.outputs.version }} - name: Test run: ./scripts/test.sh # - name: Test Report diff --git a/docs/bump-flutter.md b/docs/bump-flutter.md index ba71fccb..7078f927 100644 --- a/docs/bump-flutter.md +++ b/docs/bump-flutter.md @@ -5,7 +5,6 @@ - [ ] Upgrade flutter-android-sdk - [ ] Upgrade pubspec.yaml - [ ] Upgrade flutterw -- [ ] Upgrade .github/workflows/macos.yml - [ ] Run `dart fix --apply` - [ ] Check `flutter analyze`