bump workflow versions
quells some warnings about soon-to-be-deprecated features
This commit is contained in:
8
.github/workflows/pr-build.yml
vendored
8
.github/workflows/pr-build.yml
vendored
@@ -13,16 +13,16 @@ jobs:
|
|||||||
fail-fast: true
|
fail-fast: true
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Set up JDK ${{ matrix.java }}
|
- name: Set up JDK ${{ matrix.java }}
|
||||||
uses: actions/setup-java@v2
|
uses: actions/setup-java@v3
|
||||||
with:
|
with:
|
||||||
java-version: ${{ matrix.java }}
|
java-version: ${{ matrix.java }}
|
||||||
distribution: 'adopt'
|
distribution: 'adopt'
|
||||||
|
|
||||||
- name: Cache gradle
|
- name: Cache gradle
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
~/.gradle/caches
|
~/.gradle/caches
|
||||||
@@ -39,7 +39,7 @@ jobs:
|
|||||||
./gradlew applyPatches
|
./gradlew applyPatches
|
||||||
./gradlew createReobfPaperclipJar
|
./gradlew createReobfPaperclipJar
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: Parchment-PR${{ github.event.pull_request.number }}-JDK${{ matrix.java }}
|
name: Parchment-PR${{ github.event.pull_request.number }}-JDK${{ matrix.java }}
|
||||||
path: build/libs/parchment-paperclip-*-reobf.jar
|
path: build/libs/parchment-paperclip-*-reobf.jar
|
||||||
|
|||||||
8
.github/workflows/push-build.yml
vendored
8
.github/workflows/push-build.yml
vendored
@@ -13,16 +13,16 @@ jobs:
|
|||||||
fail-fast: true
|
fail-fast: true
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Set up JDK ${{ matrix.java }}
|
- name: Set up JDK ${{ matrix.java }}
|
||||||
uses: actions/setup-java@v2
|
uses: actions/setup-java@v3
|
||||||
with:
|
with:
|
||||||
java-version: ${{ matrix.java }}
|
java-version: ${{ matrix.java }}
|
||||||
distribution: 'adopt'
|
distribution: 'adopt'
|
||||||
|
|
||||||
- name: Cache gradle
|
- name: Cache gradle
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
~/.gradle/caches
|
~/.gradle/caches
|
||||||
@@ -44,7 +44,7 @@ jobs:
|
|||||||
./gradlew :parchment-api:publishMavenPublicationToEdenSnapshotsRepository
|
./gradlew :parchment-api:publishMavenPublicationToEdenSnapshotsRepository
|
||||||
./gradlew publishDevBundlePublicationToEdenSnapshotsRepository -PpublishDevBundle
|
./gradlew publishDevBundlePublicationToEdenSnapshotsRepository -PpublishDevBundle
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: Parchment-JDK${{ matrix.java }}
|
name: Parchment-JDK${{ matrix.java }}
|
||||||
path: build/libs/parchment-paperclip-*-reobf.jar
|
path: build/libs/parchment-paperclip-*-reobf.jar
|
||||||
|
|||||||
Reference in New Issue
Block a user