File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 7
7
runs-on : ubuntu-latest
8
8
9
9
steps :
10
- - uses : actions/checkout@v2
10
+ - uses : actions/checkout@v4
11
11
- name : Set up PATH
12
12
run : |
13
13
echo "${ANDROID_HOME}/build-tools/30.0.1" >> $GITHUB_PATH
14
14
- name : Set up JDK 17
15
- uses : actions/setup-java@v1
15
+ uses : actions/setup-java@v4
16
16
with :
17
17
java-version : 17
18
+ distribution : temurin
18
19
- name : Build mod jar
19
20
run : ./gradlew deploy
20
21
- name : Upload built jar file
21
- uses : actions/upload-artifact@v2
22
+ uses : actions/upload-artifact@v4
22
23
with :
23
24
name : ${{ github.event.repository.name }}
24
25
path : build/libs/${{ github.event.repository.name }}.jar
Original file line number Diff line number Diff line change 7
7
runs-on : ubuntu-latest
8
8
9
9
steps :
10
- - uses : actions/checkout@v2
10
+ - uses : actions/checkout@v4
11
11
- name : Set up PATH
12
12
run : |
13
13
echo "${ANDROID_HOME}/build-tools/30.0.1" >> $GITHUB_PATH
14
14
- name : Set up JDK 16
15
- uses : actions/setup-java@v1
15
+ uses : actions/setup-java@v4
16
16
with :
17
17
java-version : 16
18
+ distribution : temurin
18
19
- name : Build mod jar
19
20
run : ./gradlew deploy
20
21
- name : Upload built jar file
21
- uses : actions/upload-artifact@v2
22
+ uses : actions/upload-artifact@v4
22
23
with :
23
24
name : ${{ github.event.repository.name }} Pull Request
24
25
path : build/libs/${{ github.event.repository.name }}.jar
You can’t perform that action at this time.
0 commit comments