name: Build on: push: branches: [ "master" ] pull_request: branches: [ "master" ] permissions: contents: read jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - name: Set up JDK uses: actions/setup-java@v3 with: java-version: '17' distribution: 'temurin' - name: Build with Gradle uses: gradle/gradle-build-action@v2 with: arguments: build - name: Upload Artifact uses: actions/upload-artifact@v3 with: name: AmbientAddons path: build/libs/*-all.jar