Skip to content

Commit 3d95ae4

Browse files
committed
Actions update
1 parent 8ba17b6 commit 3d95ae4

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

.github/workflows/commitTest.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,19 @@ jobs:
77
runs-on: ubuntu-latest
88

99
steps:
10-
- uses: actions/checkout@v2
10+
- uses: actions/checkout@v4
1111
- name: Set up PATH
1212
run: |
1313
echo "${ANDROID_HOME}/build-tools/30.0.1" >> $GITHUB_PATH
1414
- name: Set up JDK 17
15-
uses: actions/setup-java@v1
15+
uses: actions/setup-java@v4
1616
with:
1717
java-version: 17
18+
distribution: temurin
1819
- name: Build mod jar
1920
run: ./gradlew deploy
2021
- name: Upload built jar file
21-
uses: actions/upload-artifact@v2
22+
uses: actions/upload-artifact@v4
2223
with:
2324
name: ${{ github.event.repository.name }}
2425
path: build/libs/${{ github.event.repository.name }}.jar

.github/workflows/prTest.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,19 @@ jobs:
77
runs-on: ubuntu-latest
88

99
steps:
10-
- uses: actions/checkout@v2
10+
- uses: actions/checkout@v4
1111
- name: Set up PATH
1212
run: |
1313
echo "${ANDROID_HOME}/build-tools/30.0.1" >> $GITHUB_PATH
1414
- name: Set up JDK 16
15-
uses: actions/setup-java@v1
15+
uses: actions/setup-java@v4
1616
with:
1717
java-version: 16
18+
distribution: temurin
1819
- name: Build mod jar
1920
run: ./gradlew deploy
2021
- name: Upload built jar file
21-
uses: actions/upload-artifact@v2
22+
uses: actions/upload-artifact@v4
2223
with:
2324
name: ${{ github.event.repository.name }} Pull Request
2425
path: build/libs/${{ github.event.repository.name }}.jar

0 commit comments

Comments
 (0)