From 6993df5042610eff6ad75b3e91d519f1ac354ddf Mon Sep 17 00:00:00 2001 From: Bill Napier Date: Wed, 26 Mar 2025 21:43:04 +0000 Subject: [PATCH] Update runners to ubuntu-24.04 from deprecated ubuntu-20.04 label --- .github/workflows/build.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e2922f32c41..9349445a3cf 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -17,7 +17,7 @@ env: jobs: check-format: if: github.event_name == 'pull_request' - runs-on: ubuntu-20.04 + runs-on: 'ubuntu-24.04' steps: - name: Configure Java uses: actions/setup-java@v2 @@ -35,7 +35,7 @@ jobs: run: | mvn spotless:check -Pjdk17 -B -U -e prepare: - runs-on: ubuntu-20.04 + runs-on: 'ubuntu-24.04' outputs: repositoryUrl: ${{ steps.repository.outputs.repositoryUrl }} steps: @@ -91,7 +91,7 @@ jobs: if: env.DEPLOY_RELEASE == 'true' || env.DEPLOY_SNAPSHOT == 'true' run: mvn -f tensorflow-core/tensorflow-core-native/pom.xml deploy:deploy-file@native-only -B -e -Djavacpp.platform=${{ github.job }} -Djavacpp.platform.extension=${{ matrix.ext }} -Durl=${{ needs.prepare.outputs.repositoryUrl }} linux-x86_64: - runs-on: ubuntu-20.04 + runs-on: 'ubuntu-24.04' needs: prepare strategy: matrix: @@ -209,7 +209,7 @@ jobs: deploy: if: ${{ github.event_name == 'push' && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/staging') }} # DEPLOY_SNAPSHOT (releases should be signed and deployed manually from local machine) needs: [linux-x86_64, macosx-x86_64, windows-x86_64, macosx-arm64, linux-arm64] - runs-on: ubuntu-20.04 + runs-on: 'ubuntu-24.04' steps: - name: Configure Java uses: actions/setup-java@v2