Skip to content

Commit 9b8dec7

Browse files
committed
Update commit action from template
1 parent 4df193e commit 9b8dec7

2 files changed

Lines changed: 7 additions & 31 deletions

File tree

.github/workflows/commitTest.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
name: Commit Testing
1+
name: Build Mod
22

3-
on: [push]
3+
on: [push, pull_request]
44

55
jobs:
66
buildJar:
@@ -10,15 +10,15 @@ jobs:
1010
- uses: actions/checkout@v2
1111
- name: Set up PATH
1212
run: |
13-
echo "${ANDROID_HOME}/build-tools/30.0.1" >> $GITHUB_PATH
14-
- name: Set up JDK 16
13+
echo "${ANDROID_HOME}/build-tools/34.0.0" >> $GITHUB_PATH
14+
- name: Set up JDK 17
1515
uses: actions/setup-java@v1
1616
with:
17-
java-version: 16
17+
java-version: 17
1818
- name: Build mod jar
1919
run: ./gradlew deploy
2020
- name: Upload built jar file
2121
uses: actions/upload-artifact@v2
2222
with:
23-
name: TestUtils (zipped)
24-
path: build/libs/${{ github.event.repository.name }}.jar
23+
name: ${{ github.event.repository.name }}
24+
path: build/libs/${{ github.event.repository.name }}.jar

.github/workflows/prTest.yml

Lines changed: 0 additions & 24 deletions
This file was deleted.

0 commit comments

Comments
 (0)