50 lines
1.6 KiB
YAML
50 lines
1.6 KiB
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches-ignore:
|
|
- "dependabot/**"
|
|
schedule:
|
|
- cron: '0 10 * * *' # Once per day at 10am UTC
|
|
workflow_dispatch: # Manual trigger
|
|
|
|
jobs:
|
|
build:
|
|
name: Build
|
|
uses: spring-io/spring-security-release-tools/.github/workflows/build.yml@v1
|
|
strategy:
|
|
matrix:
|
|
os: [ ubuntu-latest ]
|
|
jdk: [ 17 ]
|
|
with:
|
|
runs-on: ${{ matrix.os }}
|
|
java-version: ${{ matrix.jdk }}
|
|
distribution: temurin
|
|
secrets: inherit
|
|
deploy-artifacts:
|
|
name: Deploy Artifacts
|
|
needs: [ build ]
|
|
uses: spring-io/spring-security-release-tools/.github/workflows/deploy-artifacts.yml@v1
|
|
with:
|
|
should-deploy-artifacts: ${{ needs.build.outputs.should-deploy-artifacts }}
|
|
secrets: inherit
|
|
deploy-docs:
|
|
name: Deploy Docs
|
|
needs: [ build ]
|
|
uses: spring-io/spring-security-release-tools/.github/workflows/deploy-docs.yml@v1
|
|
with:
|
|
should-deploy-docs: ${{ needs.build.outputs.should-deploy-artifacts }}
|
|
secrets: inherit
|
|
perform-release:
|
|
name: Perform Release
|
|
needs: [ deploy-artifacts, deploy-docs ]
|
|
uses: spring-io/spring-security-release-tools/.github/workflows/perform-release.yml@v1
|
|
with:
|
|
should-perform-release: ${{ needs.deploy-artifacts.outputs.artifacts-deployed }}
|
|
project-version: ${{ needs.deploy-artifacts.outputs.project-version }}
|
|
milestone-repo-url: https://repo.spring.io/artifactory/milestone
|
|
release-repo-url: https://repo1.maven.org/maven2
|
|
artifact-path: org/springframework/session/spring-session-core
|
|
slack-announcing-id: spring-session-announcing
|
|
secrets: inherit
|