Skip to content

Commit

Permalink
ci: Set Maven settings
Browse files Browse the repository at this point in the history
Enable the step to set the Maven setting (based on Zeebe's workflow).
  • Loading branch information
saig0 committed Jul 25, 2023
1 parent dbf0a55 commit 1f24955
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ jobs:
secret/data/github.com/organizations/camunda MAVEN_CENTRAL_GPG_SIGNING_KEY_PUB;
secret/data/github.com/organizations/camunda MAVEN_CENTRAL_DEPLOYMENT_USR;
secret/data/github.com/organizations/camunda MAVEN_CENTRAL_DEPLOYMENT_PSW;
# secret/data/products/zeebe/ci/zeebe ARTIFACTS_USR;
# secret/data/products/zeebe/ci/zeebe ARTIFACTS_PSW;
secret/data/products/zeebe/ci/zeebe ARTIFACTS_USR;
secret/data/products/zeebe/ci/zeebe ARTIFACTS_PSW;
- name: Git User Setup
run: |
Expand Down Expand Up @@ -92,26 +92,26 @@ jobs:
&& sudo apt update \
&& sudo apt install gh -y
# - uses: s4u/maven-settings-action@v2.8.0
# with:
# servers: |
# [{
# "id": "camunda-nexus",
# "username": "${{ steps.secrets.outputs.ARTIFACTS_USR }}",
# "password": "${{ steps.secrets.outputs.ARTIFACTS_PSW }}"
# },
# {
# "id": "central",
# "username": "${{ steps.secrets.outputs.MAVEN_CENTRAL_DEPLOYMENT_USR }}",
# "password": "${{ steps.secrets.outputs.MAVEN_CENTRAL_DEPLOYMENT_PSW }}"
# }]
# mirrors: |
# [{
# "id": "camunda-nexus",
# "name": "Camunda Nexus",
# "mirrorOf": "camunda-nexus",
# "url": "https://repository.nexus.camunda.cloud/content/groups/internal/"
# }]
- uses: s4u/maven-settings-action@v2.8.0
with:
servers: |
[{
"id": "camunda-nexus",
"username": "${{ steps.secrets.outputs.ARTIFACTS_USR }}",
"password": "${{ steps.secrets.outputs.ARTIFACTS_PSW }}"
},
{
"id": "central",
"username": "${{ steps.secrets.outputs.MAVEN_CENTRAL_DEPLOYMENT_USR }}",
"password": "${{ steps.secrets.outputs.MAVEN_CENTRAL_DEPLOYMENT_PSW }}"
}]
mirrors: |
[{
"id": "camunda-nexus",
"name": "Camunda Nexus",
"mirrorOf": "camunda-nexus",
"url": "https://repository.nexus.camunda.cloud/content/groups/internal/"
}]
- name: Set up Java environment
uses: actions/setup-java@v3
Expand Down

0 comments on commit 1f24955

Please sign in to comment.