diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c60fd0f..8972284 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -24,7 +24,7 @@ jobs: name: build env runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: init custom env run: | set -a @@ -182,7 +182,11 @@ jobs: run: | type .custom_env >> $env:GITHUB_ENV del .custom_env - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 + - uses: actions/setup-java@v4 + with: + distribution: 'oracle' + java-version: '17' - uses: subosito/flutter-action@v2 with: channel: 'stable'