Skip to content

Commit

Permalink
Update github actions ubuntu version
Browse files Browse the repository at this point in the history
  • Loading branch information
haroldtreen committed Jul 16, 2023
1 parent cfc238b commit 60eb928
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ name: Build
on: [push, pull_request]
jobs:
test_and_lint:
runs-on: ubuntu-18.04
runs-on: ubuntu-latest
steps:
- name: Use Node.js 14
uses: actions/setup-node@v1
Expand All @@ -22,7 +22,7 @@ jobs:
coverageLocations: ${{ github.workspace }}/coverage/lcov.info:lcov
publish:
if: ${{ contains(github.ref, 'master') || contains(github.ref, 'stage') }}
runs-on: ubuntu-18.04
runs-on: ubuntu-latest
needs: [test_and_lint]
steps:
- uses: actions/checkout@v2
Expand All @@ -38,7 +38,7 @@ jobs:
cache_froms: haroldtreen/epub-press/server:latest
deploy_stage:
if: ${{ contains(github.ref, 'stage') }}
runs-on: ubuntu-18.04
runs-on: ubuntu-latest
needs: [publish]
steps:
- uses: actions/checkout@v2
Expand Down Expand Up @@ -71,7 +71,7 @@ jobs:
docker system prune -a -f
deploy_prod:
if: ${{ contains(github.ref, 'master') }}
runs-on: ubuntu-18.04
runs-on: ubuntu-latest
needs: [publish]
steps:
- uses: actions/checkout@v2
Expand Down

0 comments on commit 60eb928

Please sign in to comment.