Skip to content

Commit c00e84e

Browse files
committed
Use previous version of GitHub-hosted runners
1 parent e1410a4 commit c00e84e

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ env:
1717
jobs:
1818
quick-build:
1919
if: github.event_name == 'pull_request' && !contains(github.event.pull_request.labels.*.name, 'CI build')
20-
runs-on: ubuntu-latest
20+
runs-on: ubuntu-18.04
2121
container: centos:7
2222
steps:
2323
- name: Checkout repository
@@ -43,7 +43,7 @@ jobs:
4343
mvn compiler:compile -Pdev,jdk11 -B -U -e
4444
check-format:
4545
if: github.event_name == 'pull_request'
46-
runs-on: ubuntu-latest
46+
runs-on: ubuntu-18.04
4747
container: centos:7
4848
steps:
4949
- name: Checkout repository
@@ -68,7 +68,7 @@ jobs:
6868
run: |
6969
mvn spotless:check -Pdev,jdk11 -B -U -e
7070
prepare:
71-
runs-on: ubuntu-latest
71+
runs-on: ubuntu-18.04
7272
outputs:
7373
stagingRepositoryId: ${{ steps.staging.outputs.stagingRepositoryId }}
7474
steps:
@@ -85,7 +85,7 @@ jobs:
8585
echo "::set-output name=stagingRepositoryId::$STAGING_REPOSITORY_ID"
8686
linux-x86_64:
8787
if: github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'CI build')
88-
runs-on: ubuntu-latest
88+
runs-on: ubuntu-18.04
8989
container: centos:7
9090
needs: prepare
9191
strategy:
@@ -150,7 +150,7 @@ jobs:
150150
df -h
151151
macosx-x86_64:
152152
if: github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'CI build')
153-
runs-on: macos-latest
153+
runs-on: macos-10.15
154154
needs: prepare
155155
strategy:
156156
matrix:
@@ -186,7 +186,7 @@ jobs:
186186
df -h
187187
windows-x86_64:
188188
if: github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'CI build')
189-
runs-on: windows-latest
189+
runs-on: windows-2019
190190
needs: prepare
191191
strategy:
192192
matrix:
@@ -264,7 +264,7 @@ jobs:
264264
deploy:
265265
if: github.event_name == 'push' && contains(github.ref, 'master')
266266
needs: [linux-x86_64, macosx-x86_64, windows-x86_64]
267-
runs-on: ubuntu-latest
267+
runs-on: ubuntu-18.04
268268
steps:
269269
- name: Checkout repository
270270
uses: actions/checkout@v1

0 commit comments

Comments
 (0)