@@ -41,46 +41,23 @@ jobs:
41
41
java-version : ${{ matrix.java-version }}
42
42
test-args : --refresh-dependencies -PforceMavenRepositories=snapshot -PisOverrideVersionCatalog -PtestToolchain=${{ matrix.toolchain }} -PspringFrameworkVersion=7.+ -PreactorVersion=2025.+ -PspringDataVersion=2025.+ --stacktrace
43
43
secrets : inherit
44
- check-samples :
45
- name : Check Samples
46
- runs-on : ubuntu-latest
47
- if : ${{ github.repository_owner == 'spring-projects' }}
48
- steps :
49
- - uses : actions/checkout@v4
50
- - name : Set up gradle
51
- uses : spring-io/spring-gradle-build-action@v2
52
- with :
53
- java-version : 17
54
- distribution : temurin
55
- - name : Check samples project
56
- env :
57
- LOCAL_REPOSITORY_PATH : ${{ github.workspace }}/build/publications/repos
58
- SAMPLES_DIR : ../spring-security-samples
59
- run : |
60
- # Extract version from gradle.properties
61
- version=$(cat gradle.properties | grep "version=" | awk -F'=' '{print $2}')
62
- # Extract samplesBranch from gradle.properties
63
- samples_branch=$(cat gradle.properties | grep "samplesBranch=" | awk -F'=' '{print $2}')
64
- ./gradlew publishMavenJavaPublicationToLocalRepository
65
- ./gradlew cloneRepository -PrepositoryName="spring-projects/spring-security-samples" -Pref="$samples_branch" -PcloneOutputDirectory="$SAMPLES_DIR"
66
- ./gradlew --refresh-dependencies --project-dir "$SAMPLES_DIR" --init-script spring-security-ci.gradle -PlocalRepositoryPath="$LOCAL_REPOSITORY_PATH" -PspringSecurityVersion="$version" test integrationTest
67
44
deploy-artifacts :
68
45
name : Deploy Artifacts
69
- needs : [ build, test, check-samples ]
46
+ needs : [ build, test]
70
47
uses : spring-io/spring-security-release-tools/.github/workflows/deploy-artifacts.yml@v1
71
48
with :
72
49
should-deploy-artifacts : ${{ needs.build.outputs.should-deploy-artifacts }}
73
50
secrets : inherit
74
51
deploy-docs :
75
52
name : Deploy Docs
76
- needs : [ build, test, check-samples ]
53
+ needs : [ build, test ]
77
54
uses : spring-io/spring-security-release-tools/.github/workflows/deploy-docs.yml@v1
78
55
with :
79
56
should-deploy-docs : ${{ needs.build.outputs.should-deploy-artifacts }}
80
57
secrets : inherit
81
58
deploy-schema :
82
59
name : Deploy Schema
83
- needs : [ build, test, check-samples ]
60
+ needs : [ build, test ]
84
61
uses : spring-io/spring-security-release-tools/.github/workflows/deploy-schema.yml@v1
85
62
with :
86
63
should-deploy-schema : ${{ needs.build.outputs.should-deploy-artifacts }}
0 commit comments