|
17 | 17 | jobs:
|
18 | 18 | quick-build:
|
19 | 19 | 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 |
21 | 21 | container: centos:7
|
22 | 22 | steps:
|
23 | 23 | - name: Checkout repository
|
|
43 | 43 | mvn compiler:compile -Pdev,jdk11 -B -U -e
|
44 | 44 | check-format:
|
45 | 45 | if: github.event_name == 'pull_request'
|
46 |
| - runs-on: ubuntu-latest |
| 46 | + runs-on: ubuntu-18.04 |
47 | 47 | container: centos:7
|
48 | 48 | steps:
|
49 | 49 | - name: Checkout repository
|
|
68 | 68 | run: |
|
69 | 69 | mvn spotless:check -Pdev,jdk11 -B -U -e
|
70 | 70 | prepare:
|
71 |
| - runs-on: ubuntu-latest |
| 71 | + runs-on: ubuntu-18.04 |
72 | 72 | outputs:
|
73 | 73 | stagingRepositoryId: ${{ steps.staging.outputs.stagingRepositoryId }}
|
74 | 74 | steps:
|
|
85 | 85 | echo "::set-output name=stagingRepositoryId::$STAGING_REPOSITORY_ID"
|
86 | 86 | linux-x86_64:
|
87 | 87 | 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 |
89 | 89 | container: centos:7
|
90 | 90 | needs: prepare
|
91 | 91 | strategy:
|
@@ -150,7 +150,7 @@ jobs:
|
150 | 150 | df -h
|
151 | 151 | macosx-x86_64:
|
152 | 152 | 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 |
154 | 154 | needs: prepare
|
155 | 155 | strategy:
|
156 | 156 | matrix:
|
@@ -186,7 +186,7 @@ jobs:
|
186 | 186 | df -h
|
187 | 187 | windows-x86_64:
|
188 | 188 | if: github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'CI build')
|
189 |
| - runs-on: windows-latest |
| 189 | + runs-on: windows-2019 |
190 | 190 | needs: prepare
|
191 | 191 | strategy:
|
192 | 192 | matrix:
|
@@ -264,7 +264,7 @@ jobs:
|
264 | 264 | deploy:
|
265 | 265 | if: github.event_name == 'push' && contains(github.ref, 'master')
|
266 | 266 | needs: [linux-x86_64, macosx-x86_64, windows-x86_64]
|
267 |
| - runs-on: ubuntu-latest |
| 267 | + runs-on: ubuntu-18.04 |
268 | 268 | steps:
|
269 | 269 | - name: Checkout repository
|
270 | 270 | uses: actions/checkout@v1
|
|
0 commit comments