diff --git a/.github/actions/release-train-build/action.yml b/.github/actions/release-train-build/action.yml index 4bc52f6c..a426e148 100644 --- a/.github/actions/release-train-build/action.yml +++ b/.github/actions/release-train-build/action.yml @@ -7,7 +7,7 @@ runs: # If we are on Java 8 we need to build the docs zip for jubilee projects so it is distributed as part of the release run: | if java -version 2>&1 | grep -q '1\.8\.'; then - ./mvnw --no-transfer-progress --batch-mode --settings release-train-settings.xml clean deploy --activate-profiles releaseTrain,docs -DaltDeploymentRepository="release-train::default::file://$(pwd)/deployment-repository" -DskipTests + ./mvnw --batch-mode --settings release-train-settings.xml clean deploy --activate-profiles releaseTrain,docs -DaltDeploymentRepository="release-train::default::file://$(pwd)/deployment-repository" -Dmaven-deploy-plugin.deployZipUrl="file://$(pwd)/deployment-repository" -Dmaven-deploy-plugin-default.phase=deploy -DskipTests else - ./mvnw --no-transfer-progress --batch-mode --settings release-train-settings.xml clean deploy --activate-profiles releaseTrain -DaltDeploymentRepository="release-train::default::file://$(pwd)/deployment-repository" -DskipTests + ./mvnw --batch-mode --settings release-train-settings.xml clean deploy --activate-profiles releaseTrain -DaltDeploymentRepository="release-train::default::file://$(pwd)/deployment-repository" -DskipTests fi \ No newline at end of file diff --git a/.github/actions/release-train-test/action.yml b/.github/actions/release-train-test/action.yml index c281351c..5cb9772c 100644 --- a/.github/actions/release-train-test/action.yml +++ b/.github/actions/release-train-test/action.yml @@ -4,4 +4,4 @@ runs: steps: - name: Test Release shell: bash - run: ./mvnw --no-transfer-progress --batch-mode --settings release-train-settings.xml clean verify --activate-profiles releaseTrain + run: ./mvnw --batch-mode --settings release-train-settings.xml clean verify --activate-profiles releaseTrain diff --git a/.github/workflow-generator.yml b/.github/workflow-generator.yml new file mode 100644 index 00000000..fc415cb9 --- /dev/null +++ b/.github/workflow-generator.yml @@ -0,0 +1,17 @@ +workflow: + generator: + project: + java: + versions: + primary: 17 + workflows: + release-train: + build: + env: + COMMERCIAL_REPO_USERNAME: secrets.COMMERCIAL_ARTIFACTORY_USERNAME + COMMERCIAL_REPO_PASSWORD: secrets.COMMERCIAL_ARTIFACTORY_PASSWORD + GH_ACTIONS_REPO_TOKEN: secrets.GH_ACTIONS_REPO_TOKEN + test: + env: + COMMERCIAL_REPO_USERNAME: secrets.COMMERCIAL_ARTIFACTORY_USERNAME + COMMERCIAL_REPO_PASSWORD: secrets.COMMERCIAL_ARTIFACTORY_PASSWORD \ No newline at end of file diff --git a/.github/workflows/release-train-build.yml b/.github/workflows/release-train-build.yml index 88096192..446b9574 100644 --- a/.github/workflows/release-train-build.yml +++ b/.github/workflows/release-train-build.yml @@ -44,6 +44,7 @@ jobs: env: COMMERCIAL_REPO_PASSWORD: "${{ secrets.COMMERCIAL_ARTIFACTORY_PASSWORD }}" COMMERCIAL_REPO_USERNAME: "${{ secrets.COMMERCIAL_ARTIFACTORY_USERNAME }}" + GH_ACTIONS_REPO_TOKEN: "${{ secrets.GH_ACTIONS_REPO_TOKEN }}" RELEASE_TRAIN_MAVEN_REPOSITORY_PASSWORD: "${{ secrets.RELEASE_TRAIN_PARTICIPANT_MAVEN_REPOSITORY_PASSWORD }}" RELEASE_TRAIN_MAVEN_REPOSITORY_URL: "${{ inputs.release-train-maven-repository-url }}" RELEASE_TRAIN_MAVEN_REPOSITORY_USERNAME: "${{ secrets.RELEASE_TRAIN_PARTICIPANT_MAVEN_REPOSITORY_USERNAME }}"