From 95d2cfbc94380e83fffc4a90b3048fc0cf7952f1 Mon Sep 17 00:00:00 2001 From: Stadnik Andrii Date: Mon, 18 Sep 2023 14:15:45 +0300 Subject: [PATCH] fix(workflows): update runs-on to ubuntu-latest --- .github/workflows/CI_CD.yml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/.github/workflows/CI_CD.yml b/.github/workflows/CI_CD.yml index e8d60bc9..58349dfe 100644 --- a/.github/workflows/CI_CD.yml +++ b/.github/workflows/CI_CD.yml @@ -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: @@ -75,7 +75,6 @@ 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: @@ -83,12 +82,10 @@ jobs: - 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