Skip to content

Commit

Permalink
chore: add repsy.io config
Browse files Browse the repository at this point in the history
  • Loading branch information
ariwk authored Apr 24, 2024
1 parent 651afb7 commit 7e6ebad
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion .github/workflows/maven-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,15 @@ jobs:
"enabled": "true",
"updatePolicy": "never"
}
},
{
"id": "repsy",
"name": "repsy.io",
"url": "https://repo.repsy.io/mvn/sbb/polarion",
"releases": {
"enabled": "true",
"updatePolicy": "never"
}
}
]
servers: >
Expand All @@ -42,6 +51,11 @@ jobs:
"id": "github",
"username": "${env.GITHUB_ACTOR}",
"password": "${env.GITHUB_TOKEN}"
},
{
"id": "repsy",
"username": "${{ secrets.CH_SBB_POLARION_REPSY_USERNAME }}",
"password": "${{ secrets.CH_SBB_POLARION_REPSY_PASSWORD }}"
}
]
active_profiles: >
Expand All @@ -57,7 +71,10 @@ jobs:
run: echo ::set-output name=version::$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)
- name: Publish to S3 bucket
if: ${{ !endsWith(steps.artefact_version.outputs.version, '-SNAPSHOT') }}
run: mvn --batch-mode deploy -Ps3Deploy
run: mvn --batch-mode deploy -Ps3Deploy
- name: Publish to repsy.io
if: ${{ !endsWith(steps.artefact_version.outputs.version, '-SNAPSHOT') }}
run: mvn --batch-mode deploy -PrepsyDeploy
- name: Publish to GitHub Packages
if: ${{ !endsWith(steps.artefact_version.outputs.version, '-SNAPSHOT') }}
run: mvn --batch-mode deploy -PgithubDeploy
Expand Down

0 comments on commit 7e6ebad

Please sign in to comment.