Skip to content

Commit

Permalink
Fix creating sonatype repo on snapshots
Browse files Browse the repository at this point in the history
Signed-off-by: solonovamax <solonovamax@12oclockpoint.com>
  • Loading branch information
solonovamax committed Sep 30, 2023
1 parent ad42d6c commit 583bec2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ jobs:
- name: Create Staging Repository
id: create
uses: nexus-actions/create-nexus-staging-repo@3e5e7209801629febdcf75541a4898710d28df9a
if: startsWith(github.ref, 'refs/tags') # Only publish to sonatype if tagged
with:
base_url: https://s01.oss.sonatype.org/service/local/
username: ${{ secrets.SONATYPE_USERNAME }}
Expand Down

0 comments on commit 583bec2

Please sign in to comment.