Use macos-11 in CI workflow
See: https://github.com/actions/virtual-environments/issues/2638
This commit is contained in:
parent
4b9ca158fc
commit
0ded6905c3
8
.github/workflows/ci.yaml
vendored
8
.github/workflows/ci.yaml
vendored
@ -8,7 +8,7 @@ jobs:
|
|||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [ ubuntu-latest, macos-latest, windows-latest ]
|
os: [ ubuntu-latest, macos-11, windows-latest ]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
@ -38,7 +38,7 @@ jobs:
|
|||||||
if: matrix.os == 'windows-latest'
|
if: matrix.os == 'windows-latest'
|
||||||
|
|
||||||
- run: ./gradlew build
|
- run: ./gradlew build
|
||||||
if: matrix.os == 'macos-latest'
|
if: matrix.os == 'macos-11'
|
||||||
|
|
||||||
publish:
|
publish:
|
||||||
needs: build
|
needs: build
|
||||||
@ -47,7 +47,7 @@ jobs:
|
|||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [ ubuntu-latest, macos-latest, windows-latest ]
|
os: [ ubuntu-latest, macos-11, windows-latest ]
|
||||||
|
|
||||||
env:
|
env:
|
||||||
ORG_GRADLE_PROJECT_ossrhUsername: ${{ secrets.OSSRH_USERNAME }}
|
ORG_GRADLE_PROJECT_ossrhUsername: ${{ secrets.OSSRH_USERNAME }}
|
||||||
@ -84,4 +84,4 @@ jobs:
|
|||||||
if: matrix.os == 'windows-latest'
|
if: matrix.os == 'windows-latest'
|
||||||
|
|
||||||
- run: ./gradlew publish
|
- run: ./gradlew publish
|
||||||
if: matrix.os == 'macos-latest'
|
if: matrix.os == 'macos-11'
|
||||||
|
Loading…
Reference in New Issue
Block a user