chore(deps): update actions/checkout action to v6 #277
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| branches: | |
| - master | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v6 | |
| - name: Set up JDK ${{ vars.BUILDS_JAVA_VERSION }} | |
| uses: actions/setup-java@v5 | |
| with: | |
| java-version: ${{ vars.BUILDS_JAVA_VERSION }} | |
| distribution: temurin | |
| - name: Validate Gradle wrapper | |
| uses: gradle/actions/wrapper-validation@v5 | |
| - name: Setup Gradle | |
| uses: gradle/actions/setup-gradle@v5 | |
| - name: Build with Gradle | |
| run: ./gradlew clean shadowJar | |
| - name: Get build artifact ready | |
| run: mkdir staging && cp build/libs/*.jar staging | |
| - name: Upload a Build Artifact | |
| uses: actions/upload-artifact@v5 | |
| with: | |
| name: Preview Build (Do not report bugs for this build) | |
| path: staging |