Skip to content

Commit

Permalink
fix(workflows): update runs-on to ubuntu-latest
Browse files Browse the repository at this point in the history
  • Loading branch information
anstadnik committed Sep 18, 2023
1 parent c37b33c commit 95d2cfb
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/CI_CD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ env:

jobs:
build_and_test_bot:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
environment: ${{ github.event_name == 'pull_request' && 'main' || 'dev' }}

steps:
Expand Down Expand Up @@ -75,20 +75,17 @@ jobs:
- uses: dtolnay/rust-toolchain@stable
with:
targets: aarch64-linux-android, armv7-linux-androideabi, x86_64-linux-android, i686-linux-android
- run: cargo install cargo-expand
- uses: Swatinem/rust-cache@v2
- uses: baptiste0928/cargo-install@v2
with:
crate: flutter_rust_bridge_codegen
- uses: baptiste0928/cargo-install@v2
with:
crate: cargo-ndk
- run: just
# - run: cargo build
# env:
# SHEET_ID: ${{ secrets.SHEET_ID }}
# - run: flutter test
- run: flutter build apk --release
- uses: baptiste0928/cargo-install@v2
with:
crate: cargo-expand
- run: just && flutter build apk --release
env:
SHEET_ID: ${{ secrets.SHEET_ID }}
# https://github.com/actions/upload-artifact/issues/294
Expand Down

0 comments on commit 95d2cfb

Please sign in to comment.