Skip to content

fix?

fix? #67

Workflow file for this run

name: Java CI
on: [push]
jobs:
buildJar:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up PATH
run: |
echo "${ANDROID_HOME}/build-tools/34.0.0" >> $GITHUB_PATH
- name: Set up JDK 17
uses: actions/setup-java@v1
with:
java-version: 17
- name: Build mod jar
run: |
sed -i 's/\r//' ./gradlew
chmod +x ./gradlew
./gradlew deploy -Pcommit=$(git rev-parse --short "$GITHUB_SHA")
- name: Upload built jar file
uses: actions/upload-artifact@v2
with:
name: ${{ github.event.repository.name }}
path: build/libs/${{ github.event.repository.name }}.jar