Repository navigation
Update junit-framework monorepo to v6.1.3 #623
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: Build | |
| on: | |
| push: | |
| branches: ['**'] | |
| pull_request: | |
| branches: ['**'] | |
| jobs: | |
| build: | |
| if: github.event_name != 'pull_request' || github.repository != github.event.pull_request.head.repo.full_name | |
| name: Build | |
| runs-on: namespace-profile-linux-default | |
| steps: | |
| - uses: namespacelabs/nscloud-checkout-action@v9 | |
| - uses: actions/setup-java@v6 | |
| with: | |
| distribution: 'temurin' | |
| java-version: 21 | |
| cache: "" # namespace handles this | |
| - name: Set up cache | |
| uses: namespacelabs/nscloud-cache-action@v1 | |
| with: | |
| cache: gradle | |
| - name: Setup gradle build cache | |
| run: | | |
| nsc cache gradle setup --init-gradle /tmp/init.gradle | |
| - name: Setup Gradle | |
| uses: gradle/actions/setup-gradle@v5 | |
| with: | |
| cache-disabled: true # namespace handles this | |
| - name: Build with Gradle | |
| run: ./gradlew --init-script=/tmp/init.gradle build --stacktrace |