File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change 1616 outputs :
1717 runjobs : ${{ steps.continue.outputs.runjobs }}
1818 project_version : ${{ steps.continue.outputs.project_version }}
19+ boot_version : ${{ steps.continue.outputs.boot_version }}
1920 steps :
2021 - uses : actions/checkout@v3
2122 - id : continue
2627 # Extract version from gradle.properties
2728 version=$(cat gradle.properties | grep "version=" | awk -F'=' '{print $2}')
2829 echo "project_version=$version" >>$GITHUB_OUTPUT
30+ bootVersion=$(cat gradle/libs.versions.toml | grep "spring-boot = \"" | cut -d '"' -f2)
31+ echo "boot_version=$bootVersion" >>$GITHUB_OUTPUT
2932 build_and_verify :
3033 name : Build and Verify
3134 needs : [prerequisites]
7679 retention-days : 3
7780 check_samples :
7881 needs : [prerequisites, build_and_verify]
82+ strategy :
83+ matrix :
84+ springBootVersion : [ "${{ needs.prerequisites.outputs.boot_version }}", '3.3.0-SNAPSHOT' ]
7985 runs-on : ubuntu-latest
8086 if : needs.prerequisites.outputs.runjobs
8187 steps :
@@ -85,12 +91,14 @@ jobs:
8591 env :
8692 LOCAL_REPOSITORY_PATH : ${{ github.workspace }}/build/publications/repos
8793 VERSION : ${{ needs.prerequisites.outputs.project_version }}
94+ BOOT_VERSION : ${{ matrix.springBootVersion }}
8895 run : |
8996 ./gradlew publishMavenJavaPublicationToLocalRepository
9097 ./gradlew \
9198 --init-script ./spring-pulsar-sample-apps/sample-apps-check-ci.gradle \
9299 -PlocalRepositoryPath="$LOCAL_REPOSITORY_PATH" \
93100 -PspringPulsarVersion="$VERSION" \
101+ -PspringBootVersion="$BOOT_VERSION" \
94102 :runAllSampleTests
95103 scan :
96104 needs : [prerequisites]
You can’t perform that action at this time.
0 commit comments