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 4625fb2 commit 9aea332
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ jobs:

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

0 comments on commit 9aea332

Please sign in to comment.