mirror of
https://github.com/spring-projects/spring-security.git
synced 2026-03-29 21:41:05 +00:00
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 6.0.0 to 7.0.0.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](b7c566a772...bbbca2ddaa)
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-version: 7.0.0
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
52 lines
1.9 KiB
YAML
52 lines
1.9 KiB
YAML
name: PR Build
|
|
|
|
on: pull_request
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
build:
|
|
name: Build
|
|
runs-on: ubuntu-latest
|
|
if: ${{ github.repository == 'spring-projects/spring-security' }}
|
|
steps:
|
|
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
- name: Set up gradle
|
|
uses: spring-io/spring-gradle-build-action@efc55f07f4dfa22f2afd97f9ea1be4212eeed737 # v2.0.5
|
|
with:
|
|
java-version: '17'
|
|
distribution: 'temurin'
|
|
- name: Build with Gradle
|
|
run: ./gradlew clean build -PskipCheckExpectedBranchVersion --continue --scan
|
|
generate-docs:
|
|
name: Generate Docs
|
|
runs-on: ubuntu-latest
|
|
if: ${{ github.repository == 'spring-projects/spring-security' }}
|
|
steps:
|
|
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
- name: Set up gradle
|
|
uses: spring-io/spring-gradle-build-action@efc55f07f4dfa22f2afd97f9ea1be4212eeed737 # v2.0.5
|
|
with:
|
|
java-version: '17'
|
|
distribution: 'temurin'
|
|
- name: Run Antora
|
|
run: ./gradlew -PbuildSrc.skipTests=true :spring-security-docs:antora
|
|
- name: Upload Docs
|
|
id: upload
|
|
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
|
|
with:
|
|
name: docs
|
|
path: docs/build/site
|
|
overwrite: true
|
|
send-notification:
|
|
name: Send Notification
|
|
needs: [ build, generate-docs ]
|
|
if: ${{ failure() && github.event.pull_request.user.login == 'dependabot[bot]' && github.repository == 'spring-projects/spring-security' }}
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Send Notification
|
|
uses: spring-io/spring-security-release-tools/.github/actions/send-notification@729fed56d42122f88583aff1be35c0800b7d77e9 # v1.0.14
|
|
with:
|
|
webhook-url: ${{ secrets.SPRING_SECURITY_CI_GCHAT_WEBHOOK_URL }}
|