bottom sheet: reflect merged secondary device status #329
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
| name: Deploy to GitHub Pages | |
| on: | |
| push: | |
| branches: | |
| - main | |
| permissions: | |
| contents: read | |
| pages: write | |
| id-token: write | |
| concurrency: | |
| group: "deploy" | |
| cancel-in-progress: false | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: subosito/flutter-action@v2 | |
| with: | |
| flutter-version: '3.41.6' | |
| channel: 'stable' | |
| cache: true | |
| - name: Cache Flutter dependencies | |
| uses: actions/cache@v4 | |
| with: | |
| path: | | |
| ~/.pub-cache | |
| **/.dart_tool | |
| key: ${{ runner.os }}-pub-${{ hashFiles('**/pubspec.lock') }} | |
| restore-keys: | | |
| ${{ runner.os }}-pub- | |
| - name: Set up Java 21 | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: 'temurin' | |
| java-version: '21' | |
| cache: 'gradle' | |
| cache-dependency-path: | # optional | |
| android/*.gradle* | |
| android/**/gradle-wrapper.properties | |
| - name: Build | |
| run: | | |
| echo "${{ secrets.ANDROID_KEYSTORE }}" | base64 --decode > android/keystore | |
| export BUILD_NUMBER="${{ github.run_number }}" | |
| export GOOGLE_MAPS_CLIENT_ID="${{ secrets.GOOGLE_MAPS_CLIENT_ID }}" | |
| export GOOGLE_MAPS_SIGNING_SECRET="${{ secrets.GOOGLE_MAPS_SIGNING_SECRET }}" | |
| export TRACCAR_BASE_URL="${{vars.TRACCAR_BASE_URL}}" | |
| ./build.sh appbundle | |
| - name: Upload to Play Store | |
| uses: r0adkll/upload-google-play@v1 | |
| continue-on-error: true | |
| with: | |
| serviceAccountJsonPlainText: ${{ secrets.PLAY_STORE_AUTH }} | |
| packageName: com.fleetmap.fleetmanager | |
| releaseFiles: build/app/outputs/bundle/release/app-release.aab | |
| track: internal | |
| status: draft |