Update dependency flutter to v3.22.2 - autoclosed #51
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: Deploy to Firebase Hosting on PR | |
on: | |
pull_request: | |
paths: | |
- "app/radio_qth_map/**" | |
jobs: | |
build_and_preview: | |
if: "${{ github.event.pull_request.head.repo.full_name == github.repository }}" | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: app/radio_qth_map | |
steps: | |
- uses: actions/checkout@v4 | |
- shell: bash | |
env: | |
FIREBASE_APP_CONFIGURE_DEV: ${{ secrets.FIREBASE_APP_CONFIGURE_DEV }} | |
# ビルドを通すためにとりあえずファイルを作る。デプロイはしない | |
run: | | |
echo "$FIREBASE_APP_CONFIGURE_DEV" > lib/firebase_options/dev.dart | |
echo "$FIREBASE_APP_CONFIGURE_DEV" > lib/firebase_options/prod.dart | |
touch key.env | |
- uses: kuhnroyal/flutter-fvm-config-action@v2 | |
id: fvm-config-action | |
with: | |
path: app/radio_qth_map/.fvmrc | |
- uses: subosito/flutter-action@v2.13.0 | |
with: | |
flutter-version: ${{ steps.fvm-config-action.outputs.FLUTTER_VERSION }} | |
cache: true | |
- run: flutter pub get | |
- run: flutter gen-l10n | |
- run: flutter build web | |
- run: flutter analyze |