Repository navigation
Bump spring-io/spring-security-release-tools/auto-merge-forward from a57371127a9632f33df323b6ad08581a626aa798 to d9771d6b04734998e48feffaaaea3fd23e56eea4 #42
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: Pull Request - Build | |
| on: pull_request | |
| permissions: | |
| contents: read | |
| env: | |
| JAVA_VERSION: '17' | |
| jobs: | |
| build: | |
| name: Build | |
| runs-on: ${{ vars.UBUNTU_RUNS_ON }} | |
| if: github.event.pull_request.head.repo.fork == false && github.actor != 'dependabot[bot]' | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| - id: project-version | |
| name: Extract Project Version | |
| uses: spring-io/spring-release-actions/compute-version@6795980b9d960a13d420e114d50f1c8abe730769 # 0.0.7 | |
| - id: release | |
| name: Establish Release Channel | |
| uses: spring-io/spring-release-actions/compute-release-channel@17a35a368ea3bf2659b7ad271a7d610defa459a2 # main | |
| with: | |
| version: ${{ steps.project-version.outputs.version }} | |
| - id: secrets | |
| uses: ./.github/actions/compute-secrets | |
| with: | |
| release-channel: ${{ steps.release.outputs.channel }} | |
| - uses: spring-io/spring-security-actions/pr-build@96df48300f5fa058d0765832d48a534cc6a378d5 # 0.0.3 | |
| env: | |
| ORG_GRADLE_PROJECT_releaseChannel: ${{ steps.release.outputs.channel }} | |
| ORG_GRADLE_PROJECT_artifactoryUsername: ${{ secrets[steps.secrets.outputs.dependencies-username] }} | |
| ORG_GRADLE_PROJECT_artifactoryPassword: ${{ secrets[steps.secrets.outputs.dependencies-password] }} | |
| with: | |
| java-version: ${{ env.JAVA_VERSION }} | |
| build-check: | |
| name: Build | |
| needs: build | |
| if: failure() || cancelled() | |
| runs-on: ubuntu-latest | |
| steps: | |
| - run: exit 1 |