From 8a300667e06ce1c9152be897fb01b40231e79791 Mon Sep 17 00:00:00 2001 From: Devin Smith Date: Tue, 3 Oct 2023 08:10:16 -0700 Subject: [PATCH] Update build.yml actions (#113) --- .github/workflows/build.yml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 851d5e9f..0fc04e71 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,9 +8,9 @@ on: jobs: jars: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-java@v3 with: distribution: 'temurin' @@ -22,10 +22,10 @@ jobs: path: target sdist: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 - - uses: actions/setup-python@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v4 # TODO: sdist shouldn't need java - uses: actions/setup-java@v3 id: setup-java @@ -64,9 +64,9 @@ jobs: - { machine: 'macos-11', python: '3.11', pythonArchitecture: 'x64', arch: 'amd64', cmd: '.github/env/macOS/bdist-wheel.sh' } steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - - uses: actions/setup-python@v3 + - uses: actions/setup-python@v4 with: python-version: ${{ matrix.info.python }} architecture: ${{ matrix.info.pythonArchitecture }} @@ -86,10 +86,10 @@ jobs: retention-days: 1 collect-artifacts: - runs-on: 'ubuntu-20.04' + runs-on: ubuntu-22.04 needs: ['sdist', 'bdist-wheel'] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/download-artifact@v3 with: path: download-artifacts @@ -102,7 +102,7 @@ jobs: release-artifacts: if: ${{ startsWith(github.ref, 'refs/heads/release/v') }} - runs-on: 'ubuntu-20.04' + runs-on: ubuntu-22.04 needs: ['collect-artifacts'] steps: - uses: actions/download-artifact@v3 @@ -117,9 +117,9 @@ jobs: publish-jar: if: ${{ startsWith(github.ref, 'refs/heads/release/v') }} - runs-on: 'ubuntu-20.04' + runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-java@v3 with: distribution: 'temurin'