diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a25f70b..8014f72 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,31 +1,25 @@ -# Automatically build the project and run any configured tests for every push -# and submitted pull request. This can help catch issues that only occur on -# certain platforms or Java versions, and provides a first line of defence -# against bad commits. - -name: build -on: [pull_request, push] +name: Build +on: [push, pull_request] jobs: build: - runs-on: ubuntu-24.04 + runs-on: ubuntu-24.04-arm steps: - - name: checkout repository + - name: Checkout Repository uses: actions/checkout@v6 - - name: setup jdk - uses: actions/setup-java@v5 + + - name: Setup GraalVM + uses: graalvm/setup-graalvm@v1 with: java-version: '21' distribution: 'graalvm' cache: 'gradle' - - name: Setup Gradle - uses: gradle/actions/setup-gradle@v5 - with: - cache-read-only: false - - name: build + + - name: Build with Gradle run: ./gradlew build - - name: capture build artifacts - uses: actions/upload-artifact@v6 + + - name: Capture Build Artifacts + uses: actions/upload-artifact@v7 with: name: Artifacts - path: build/libs/ + path: build/libs/ \ No newline at end of file