name: Build with Gradle on: push: jobs: build-gradle-project: runs-on: ubuntu-latest steps: - name: Checkout project sources uses: actions/checkout@v3 - name: Setup Gradle uses: gradle/gradle-build-action@v2 - name: Run build with Gradle Wrapper run: ./gradlew teavm - name: Setup Java JDK uses: actions/setup-java@v3.12.0 with: distribution: 'adopt' java-version: '17' - name: Compile EPK run: java -jar lax1dude/epkcompiler/CompilePackage.jar "../../resources" "../../js/resources.mc" - name: Export data uses: actions/upload-artifact@v3 with: name: web path: js/*