mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-26 22:40:21 +01:00
parent
9472d38f3c
commit
2ec6c99152
1 changed files with 4 additions and 13 deletions
17
.github/workflows/build.yml
vendored
17
.github/workflows/build.yml
vendored
|
@ -16,22 +16,13 @@ jobs:
|
||||||
java: [16]
|
java: [16]
|
||||||
fail-fast: true
|
fail-fast: true
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2.3.5
|
||||||
- name: JDK ${{ matrix.java }}
|
- name: JDK ${{ matrix.java }}
|
||||||
uses: actions/setup-java@v2
|
uses: actions/setup-java@v2.3.1
|
||||||
with:
|
with:
|
||||||
java-version: ${{ matrix.java }}
|
java-version: ${{ matrix.java }}
|
||||||
distribution: 'adopt'
|
cache: 'gradle'
|
||||||
- name: Cache gradle
|
distribution: 'temurin'
|
||||||
uses: actions/cache@v2
|
|
||||||
with:
|
|
||||||
path: |
|
|
||||||
~/.gradle/caches
|
|
||||||
~/.gradle/jdks
|
|
||||||
~/.gradle/native
|
|
||||||
~/.gradle/wrapper
|
|
||||||
key: ${{ runner.os }}-paper-2-${{ hashFiles('**/*.gradle*', 'gradle/**', 'gradle.properties') }}
|
|
||||||
restore-keys: ${{ runner.os }}-paper-2
|
|
||||||
- name: Patch and build
|
- name: Patch and build
|
||||||
run: |
|
run: |
|
||||||
git config --global user.email "no-reply@github.com"
|
git config --global user.email "no-reply@github.com"
|
||||||
|
|
Loading…
Reference in a new issue