mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-05-31 09:12:14 +00:00
Use properties in the checkSamples job
Issue gh-10344
This commit is contained in:
parent
723648af00
commit
b544159226
@ -95,11 +95,15 @@ jobs:
|
|||||||
mkdir -p ~/.gradle
|
mkdir -p ~/.gradle
|
||||||
echo 'systemProp.user.name=spring-builds+github' >> ~/.gradle/gradle.properties
|
echo 'systemProp.user.name=spring-builds+github' >> ~/.gradle/gradle.properties
|
||||||
- name: Check samples project
|
- name: Check samples project
|
||||||
|
env:
|
||||||
|
LOCAL_REPOSITORY_PATH: ${{ github.workspace }}/build/publications/repos
|
||||||
|
SAMPLES_INIT_SCRIPT: ${{ github.workspace }}/build/includeRepo/spring-security-ci.gradle
|
||||||
run: |
|
run: |
|
||||||
export GRADLE_ENTERPRISE_CACHE_USERNAME="$GRADLE_ENTERPRISE_CACHE_USER"
|
export GRADLE_ENTERPRISE_CACHE_USERNAME="$GRADLE_ENTERPRISE_CACHE_USER"
|
||||||
export GRADLE_ENTERPRISE_CACHE_PASSWORD="$GRADLE_ENTERPRISE_CACHE_PASSWORD"
|
export GRADLE_ENTERPRISE_CACHE_PASSWORD="$GRADLE_ENTERPRISE_CACHE_PASSWORD"
|
||||||
export GRADLE_ENTERPRISE_ACCESS_KEY="$GRADLE_ENTERPRISE_SECRET_ACCESS_KEY"
|
export GRADLE_ENTERPRISE_ACCESS_KEY="$GRADLE_ENTERPRISE_SECRET_ACCESS_KEY"
|
||||||
./gradlew checkSamples --stacktrace
|
./gradlew publishMavenJavaPublicationToLocalRepository
|
||||||
|
./gradlew checkSamples -PsamplesInitScript="$SAMPLES_INIT_SCRIPT" -PlocalRepositoryPath="$LOCAL_REPOSITORY_PATH" --stacktrace
|
||||||
check_tangles:
|
check_tangles:
|
||||||
name: Check for Package Tangles
|
name: Check for Package Tangles
|
||||||
needs: [ prerequisites ]
|
needs: [ prerequisites ]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user