Skip to content

Commit

Permalink
Copy Actions over from PM
Browse files Browse the repository at this point in the history
Please work now I need to go eat dinner.
  • Loading branch information
MEEPofFaith committed Aug 10, 2022
1 parent fa3e38e commit 2e8cc80
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 4 deletions.
17 changes: 14 additions & 3 deletions .github/workflows/commitTest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,25 @@ jobs:
- name: Set up PATH
run: |
echo "${ANDROID_HOME}/build-tools/30.0.1" >> $GITHUB_PATH
- name: Set up JDK 16
- name: Set up JDK 17
uses: actions/setup-java@v1
with:
java-version: 16
java-version: 17
- name: Build mod jar
run: ./gradlew deploy
- name: Upload built jar file
uses: actions/upload-artifact@v2
with:
name: ${{ github.event.repository.name }}
name: TestUtils (zipped)
path: build/libs/${{ github.event.repository.name }}.jar
buildWindows:
runs-on: windows-latest

steps:
- uses: actions/checkout@v2
- name: Set up JDK 17
uses: actions/setup-java@v1
with:
java-version: 17
- name: Build mod jar
run: ./gradlew jar
2 changes: 1 addition & 1 deletion .github/workflows/prTest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ jobs:
- name: Upload built jar file
uses: actions/upload-artifact@v2
with:
name: ${{ github.event.repository.name }} Pull Request
name: TestUtils Pull Request (zipped)
path: build/libs/${{ github.event.repository.name }}.jar

0 comments on commit 2e8cc80

Please sign in to comment.