Apache James #40
Workflow file for this run
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
name: Apache James | |
on: | |
schedule: | |
# Every Sunday at 9.00am | |
- cron: "0 9 * * 0" | |
workflow_dispatch: | |
env: | |
GRADLE_ENTERPRISE_URL: "https://ge.solutions-team.gradle.com" | |
GIT_REPO: "https://github.com/apache/james-project" | |
GOALS: "verify" | |
ARGS: "-B -Dmaven.test.failure.ignore=true" | |
jobs: | |
Experiment: | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- experimentId: 1 | |
- experimentId: 2 | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up JDK 21 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: 21 | |
distribution: "temurin" | |
- name: Download latest version of the 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 | |
env: | |
GRADLE_ENTERPRISE_ACCESS_KEY: "${{ secrets.DV_SOLUTIONS_ACCESS_KEY }}" | |
with: | |
gitRepo: ${{ env.GIT_REPO }} | |
goals: ${{ env.GOALS }} | |
args: ${{ env.ARGS }} | |
gradleEnterpriseUrl: ${{ env.GRADLE_ENTERPRISE_URL }} | |
failIfNotFullyCacheable: true | |
if: matrix.experimentId == 1 | |
- name: Run experiment 2 | |
uses: gradle/gradle-enterprise-build-validation-scripts/.github/actions/maven/experiment-2@actions-stable | |
env: | |
GRADLE_ENTERPRISE_ACCESS_KEY: "${{ secrets.DV_SOLUTIONS_ACCESS_KEY }}" | |
with: | |
gitRepo: ${{ env.GIT_REPO }} | |
goals: ${{ env.GOALS }} | |
args: ${{ env.ARGS }} | |
gradleEnterpriseUrl: ${{ env.GRADLE_ENTERPRISE_URL }} | |
failIfNotFullyCacheable: true | |
if: matrix.experimentId == 2 |