build(android): fix build breaks with flutter v3.29.0 #147
This file contains hidden or 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_iot example | |
| name: wifi_iot | |
| on: | |
| pull_request: | |
| branches: | |
| - master | |
| paths: | |
| - "packages/wifi_iot/**" | |
| - ".github/workflows/wifi_iot.yaml" | |
| env: | |
| PLUGIN_SCOPE: "*wifi_iot*" | |
| PLUGIN_EXAMPLE_SCOPE: "*wifi_iot_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: Set up Flutter | |
| uses: subosito/flutter-action@v2 | |
| with: | |
| channel: 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: Set up Flutter | |
| uses: subosito/flutter-action@v2 | |
| with: | |
| channel: 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: Set up Flutter | |
| # uses: subosito/flutter-action@v2 | |
| # with: | |
| # channel: 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: Set up Flutter | |
| # uses: subosito/flutter-action@v2 | |
| # with: | |
| # channel: 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: Set up Flutter | |
| # uses: subosito/flutter-action@v2 | |
| # with: | |
| # channel: 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: Set up Flutter | |
| # uses: subosito/flutter-action@v2 | |
| # with: | |
| # channel: 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 |