-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge dependabot/github_actions/gradle/develocity-actions-1.2 into co…
…mbined-prs-branch
- Loading branch information
Showing
14 changed files
with
139 additions
and
175 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,6 +22,11 @@ jobs: | |
java-version: '8' | ||
distribution: 'temurin' | ||
cache: maven | ||
- name: Set up Maven | ||
uses: gradle/develocity-actions/[email protected] | ||
- name: Configure Develocity Solutions instance | ||
working-directory: convention-develocity-maven-extension/extension/src/main/java/com/myorg | ||
run: sed -i 's/develocity-samples.gradle.com/ge.solutions-team.gradle.com/g' ConventionDevelocityListener.java | ||
- name: Build with Maven | ||
working-directory: convention-develocity-maven-extension/extension | ||
run: ./mvnw clean install | ||
|
@@ -68,7 +73,7 @@ jobs: | |
- name: Verify example build | ||
id: build | ||
working-directory: convention-develocity-maven-extension/examples/maven_${{ matrix.versions.sample }} | ||
run: ./mvnw clean verify -Ddevelocity.url=https://ge.solutions-team.gradle.com | ||
run: ./mvnw clean verify | ||
env: | ||
DEVELOCITY_ACCESS_KEY: ${{ secrets.DV_SOLUTIONS_ACCESS_KEY }} | ||
- name: Verify Build Scan published | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
58 changes: 58 additions & 0 deletions
58
.github/workflows/maven-build-caching-samples-verification.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
name: Verify Maven Build Caching Samples | ||
|
||
on: | ||
push: | ||
branches: [ main ] | ||
paths: [ 'build-caching-maven-samples/**', '.github/workflows/**' ] | ||
pull_request: | ||
branches: [ main ] | ||
paths: [ 'build-caching-maven-samples/**', '.github/workflows/**' ] | ||
workflow_dispatch: | ||
|
||
env: | ||
PROJECT_DIR: build-caching-maven-samples | ||
GOALS: verify | ||
ARGS: -B -Ddevelocity.cache.failOnUnhandledParameters=true | ||
|
||
jobs: | ||
verification: | ||
name: Verification | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Set up JDK 17 | ||
uses: actions/setup-java@v4 | ||
with: | ||
java-version: '17' | ||
distribution: 'temurin' | ||
- name: Set up Maven | ||
uses: gradle/develocity-actions/[email protected] | ||
with: | ||
develocity-access-key: ${{ secrets.DV_SOLUTIONS_ACCESS_KEY }} | ||
- name: Setup Node.js and Npm | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: '14' | ||
- name: Set up Yarn | ||
run: npm install -g yarn | ||
- name: Download latest version of the Develocity Build Validation Scripts | ||
uses: gradle/gradle-enterprise-build-validation-scripts/.github/actions/maven/download@actions-stable | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Run experiment 1 | ||
uses: gradle/gradle-enterprise-build-validation-scripts/.github/actions/maven/experiment-1@actions-stable | ||
with: | ||
gitRepo: ${{ github.server_url }}/${{ github.repository }} | ||
gitCommitId: ${{ github.sha }} | ||
projectDir: ${{ env.PROJECT_DIR }} | ||
goals: ${{ env.GOALS }} | ||
args: ${{ env.ARGS }} | ||
failIfNotFullyCacheable: true | ||
- name: Run experiment 2 | ||
uses: gradle/gradle-enterprise-build-validation-scripts/.github/actions/maven/experiment-2@actions-stable | ||
with: | ||
gitRepo: ${{ github.server_url }}/${{ github.repository }} | ||
gitCommitId: ${{ github.sha }} | ||
projectDir: ${{ env.PROJECT_DIR }} | ||
goals: ${{ env.GOALS }} | ||
args: ${{ env.ARGS }} | ||
failIfNotFullyCacheable: true |
49 changes: 0 additions & 49 deletions
49
.github/workflows/maven-build-caching-samples-verification.yml.disabled
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.