fix: Update compileSdkVersion to fix Android release build with flutter 3.24 #100
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
# Build wifi_scan example | |
name: wifi_scan | |
on: | |
pull_request: | |
paths: | |
- "packages/wifi_scan/**" | |
- ".github/workflows/wifi_scan.yaml" | |
env: | |
PLUGIN_SCOPE: "*wifi_scan*" | |
PLUGIN_EXAMPLE_SCOPE: "*wifi_scan_example*" | |
jobs: | |
android: | |
runs-on: ubuntu-latest | |
timeout-minutes: 30 | |
steps: | |
- name: "Checkout repository" | |
uses: actions/checkout@v2 | |
- name: "Set up Java" | |
uses: actions/setup-java@v2 | |
with: | |
distribution: "temurin" | |
java-version: 17 | |
- name: "Install Flutter" | |
run: ./.github/workflows/scripts/install-flutter.sh stable | |
- name: "Install Tools" | |
run: ./.github/workflows/scripts/install-tools.sh | |
- name: "Build Example" | |
run: ./.github/workflows/scripts/build-examples.sh android ./lib/main.dart | |
ios: | |
runs-on: macos-latest | |
timeout-minutes: 30 | |
steps: | |
- name: "Checkout repository" | |
uses: actions/checkout@v2 | |
- name: "Install Flutter" | |
run: ./.github/workflows/scripts/install-flutter.sh stable | |
- name: "Install Tools" | |
run: ./.github/workflows/scripts/install-tools.sh | |
- name: "Build Example" | |
run: ./.github/workflows/scripts/build-examples.sh ios ./lib/main.dart | |
# macos: | |
# runs-on: macos-latest | |
# timeout-minutes: 30 | |
# steps: | |
# - name: "Checkout repository" | |
# uses: actions/checkout@v2 | |
# - name: "Install Flutter" | |
# run: ./.github/workflows/scripts/install-flutter.sh stable | |
# - name: "Install Tools" | |
# run: ./.github/workflows/scripts/install-tools.sh | |
# - name: "Build Example" | |
# run: ./.github/workflows/scripts/build-examples.sh macos ./lib/main.dart | |
# linux: | |
# runs-on: ubuntu-latest | |
# timeout-minutes: 30 | |
# steps: | |
# - name: "Checkout repository" | |
# uses: actions/checkout@v2 | |
# - name: "Install Flutter" | |
# run: ./.github/workflows/scripts/install-flutter.sh stable | |
# - name: "Install Tools" | |
# run: ./.github/workflows/scripts/install-tools.sh | |
# - name: "Build Example" | |
# run: ./.github/workflows/scripts/build-examples.sh linux ./lib/main.dart | |
# windows: | |
# runs-on: ubuntu-latest | |
# timeout-minutes: 30 | |
# steps: | |
# - name: "Checkout repository" | |
# uses: actions/checkout@v2 | |
# - name: "Install Flutter" | |
# run: ./.github/workflows/scripts/install-flutter.sh stable | |
# - name: "Install Tools" | |
# run: ./.github/workflows/scripts/install-tools.sh | |
# - name: "Build Example" | |
# run: ./.github/workflows/scripts/build-examples.sh windows ./lib/main.dart | |
# web: | |
# runs-on: ubuntu-latest | |
# timeout-minutes: 30 | |
# steps: | |
# - name: "Checkout repository" | |
# uses: actions/checkout@v2 | |
# - name: "Install Flutter" | |
# run: ./.github/workflows/scripts/install-flutter.sh stable | |
# - name: "Install Tools" | |
# run: ./.github/workflows/scripts/install-tools.sh | |
# - name: "Build Example" | |
# run: ./.github/workflows/scripts/build-examples.sh web ./lib/main.dart |