diff --git a/.github/workflows/commitTest.yml b/.github/workflows/commitTest.yml index dee938a..1ab1391 100644 --- a/.github/workflows/commitTest.yml +++ b/.github/workflows/commitTest.yml @@ -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 diff --git a/.github/workflows/prTest.yml b/.github/workflows/prTest.yml index 489720a..0493eb3 100644 --- a/.github/workflows/prTest.yml +++ b/.github/workflows/prTest.yml @@ -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