Skip to content

Commit

Permalink
CI: update all hardcoded Ubuntu versions to 22.04
Browse files Browse the repository at this point in the history
We were all over the place with these, with some going all the way back to Ubuntu 16!

Connects pelias/pelias#951
  • Loading branch information
orangejulius committed Nov 26, 2024
1 parent 54786f1 commit af488d6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
strategy:
matrix:
os:
- ubuntu-20.04
- ubuntu-22.04
node-version:
- 12.x
- 14.x
Expand All @@ -24,7 +24,7 @@ jobs:
npm-publish:
needs: unit-tests
if: github.ref == 'refs/heads/master' && github.event_name == 'push'
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Install Node.js
Expand All @@ -44,7 +44,7 @@ jobs:
# note: github actions won't run a job if you don't call one of the status check functions, so `always()` is called since it evalutes to `true`
if: ${{ always() && needs.unit-tests.result == 'success' && (needs.npm-publish.result == 'success' || needs.npm-publish.result == 'skipped') }}
needs: [unit-tests, npm-publish]
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Build Docker images
Expand Down

0 comments on commit af488d6

Please sign in to comment.