Skip to content

Commit

Permalink
Test generateChangelog
Browse files Browse the repository at this point in the history
  • Loading branch information
sjohnr committed Nov 29, 2023
1 parent 068601b commit 568bbad
Showing 1 changed file with 54 additions and 44 deletions.
98 changes: 54 additions & 44 deletions .github/workflows/continuous-integration-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,47 +9,57 @@ on:
workflow_dispatch:

jobs:
build:
name: Build
uses: spring-io/spring-security-release-tools/.github/workflows/build.yml@v1
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
jdk: [17]
with:
runs-on: ${{ matrix.os }}
java-version: ${{ matrix.jdk }}
distribution: temurin
secrets: inherit
test:
name: Test Against Snapshots
uses: spring-io/spring-security-release-tools/.github/workflows/test.yml@v1
with:
test-args: --refresh-dependencies --stacktrace -PforceMavenRepositories=snapshot -PspringFrameworkVersion=6.0.+ -PspringSecurityVersion=6.1.+
secrets: inherit
deploy-artifacts:
name: Deploy Artifacts
needs: [build, test]
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, test]
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/security/spring-security-oauth2-authorization-server
slack-announcing-id: spring-authorization-server-announcing
secrets: inherit
test-workflow:
name: Test Workflow
runs-on: ubuntu-latest
env:
BRANCH: ${{ github.ref_name }}
TOKEN: ${{ secrets.GH_ACTIONS_REPO_TOKEN }}
steps:
- uses: actions/checkout@v3
- uses: spring-io/spring-gradle-build-action@v2
- run: ./gradlew generateChangelog -PnextVersion=1.2.0 -PgitHubAccessToken=$TOKEN && cat build/changelog/release-notes.md
# build:
# name: Build
# uses: spring-io/spring-security-release-tools/.github/workflows/build.yml@v1
# strategy:
# matrix:
# os: [ubuntu-latest, windows-latest]
# jdk: [17]
# with:
# runs-on: ${{ matrix.os }}
# java-version: ${{ matrix.jdk }}
# distribution: temurin
# secrets: inherit
# test:
# name: Test Against Snapshots
# uses: spring-io/spring-security-release-tools/.github/workflows/test.yml@v1
# with:
# test-args: --refresh-dependencies --stacktrace -PforceMavenRepositories=snapshot -PspringFrameworkVersion=6.0.+ -PspringSecurityVersion=6.1.+
# secrets: inherit
# deploy-artifacts:
# name: Deploy Artifacts
# needs: [build, test]
# 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, test]
# 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/security/spring-security-oauth2-authorization-server
# slack-announcing-id: spring-authorization-server-announcing
# secrets: inherit

0 comments on commit 568bbad

Please sign in to comment.