From dd4ef41e1bea5f7dcaa0b373ead69a2171012848 Mon Sep 17 00:00:00 2001 From: Herbert Poul Date: Mon, 4 Sep 2023 11:18:58 +0200 Subject: [PATCH] fix workflows. --- .github/workflows/dart.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/dart.yml b/.github/workflows/dart.yml index 2cc18d8..f2da30e 100644 --- a/.github/workflows/dart.yml +++ b/.github/workflows/dart.yml @@ -5,7 +5,7 @@ on: [push] jobs: test: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v1 @@ -35,9 +35,9 @@ jobs: fail-fast: false matrix: buildcommand: [linux] - os: [ubuntu-20.04] + os: [ubuntu-22.04] exclude: - - os: ubuntu-20.04 + - os: ubuntu-22.04 buildcommand: linux include: # No macos build for now, have to configure code signing.. @@ -61,10 +61,11 @@ jobs: - uses: subosito/flutter-action@v2 with: channel: 'stable' # or: 'dev' or 'beta' - - uses: actions/setup-java@v1 + - uses: actions/setup-java@v3 if: matrix.buildcommand == 'appbundle' with: - java-version: '12.x' + java-version: '17' + distribution: 'oracle' - name: Patch for linux build if: matrix.buildcommand == 'linux' run: |