Skip to content

Commit

Permalink
Run CI on Ubuntu 20.04
Browse files Browse the repository at this point in the history
  • Loading branch information
jonkoops committed Nov 18, 2022
1 parent 8a64e7f commit 11049bc
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-2019]
os: [ubuntu-20.04, windows-2019]
steps:
- name: Check out repository
uses: actions/checkout@v3
Expand Down Expand Up @@ -43,7 +43,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-2019]
os: [ubuntu-20.04, windows-2019]
steps:
- name: Restore setup
uses: actions/cache@v3
Expand All @@ -69,7 +69,7 @@ jobs:

build-release:
needs: setup
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- name: Restore setup
uses: actions/cache@v3
Expand All @@ -95,7 +95,7 @@ jobs:

lint:
needs: setup
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- name: Restore setup
uses: actions/cache@v3
Expand All @@ -114,7 +114,7 @@ jobs:
bundlemon:
needs: build-release
if: github.repository_owner == 'Leaflet'
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- name: Restore release build
uses: actions/cache@v3
Expand All @@ -135,7 +135,7 @@ jobs:

test:
needs: build
runs-on: ${{ matrix.os || 'ubuntu-latest' }}
runs-on: ${{ matrix.os || 'ubuntu-20.04' }}
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -165,7 +165,7 @@ jobs:
publish-artifacts:
needs: build
if: github.repository_owner == 'Leaflet' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v'))
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- name: Restore build
uses: actions/cache@v3
Expand All @@ -191,7 +191,7 @@ jobs:
publish-npm:
needs: build
if: github.repository_owner == 'Leaflet' && startsWith(github.ref, 'refs/tags/v')
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- name: Restore build
uses: actions/cache@v3
Expand Down

0 comments on commit 11049bc

Please sign in to comment.