Skip to content

Commit

Permalink
Update build.yml actions (#113)
Browse files Browse the repository at this point in the history
  • Loading branch information
devinrsmith authored Oct 3, 2023
1 parent 0877992 commit 8a30066
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -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
Expand Down Expand Up @@ -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 }}
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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'
Expand Down

0 comments on commit 8a30066

Please sign in to comment.