Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
TruongQuangSB authored Jun 3, 2024
1 parent fbed259 commit 8aae351
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -200,9 +200,9 @@ jobs:

- name: Publish
run: |
repoPath=${{ github.ref != 'refs/heads/main' && !startsWith(github.ref, 'refs/heads/release/') && !startsWith(github.ref, 'refs/tags/') &&
'local::file://github.workspace/set-m2deploy' ||
'set-github::https://maven.pkg.github.com/github.repository' }}
repoPath=${{ github.ref != 'refs/heads/main' && !startsWith(github.ref, 'refs/heads/release/') && !startsWith(github.ref, 'refs/tags/') }} &&
'local::file://${{github.workspace/set-m2deploy}}' ||
'set-github::https://maven.pkg.github.com/${{github.repository}}'
mvn -T 1.5C -B deploy --settings .github/settings.xml -DaltDeploymentRepository=${repoPath}
env:
Expand Down

0 comments on commit 8aae351

Please sign in to comment.