Skip to content

Commit

Permalink
Update publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
arkivanov authored Dec 2, 2023
1 parent 2033a2f commit dc70f60
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ jobs:
runs-on: ubuntu-latest
name: Create staging repository
outputs:
repository-id: ${{ steps.create.outputs.repository-id }}
repository_id: ${{ steps.create.outputs.repository_id }}
steps:
- id: create
uses: nexus-actions/create-nexus-staging-repo@v1
uses: nexus-actions/create-nexus-staging-repo@v1.3.0
with:
username: arkivanov
password: ${{ secrets.SONATYPE_PASSWORD }}
staging-profile-id: ${{ secrets.SONATYPE_STAGING_PROFILE_ID }}
staging_profile_id: ${{ secrets.SONATYPE_STAGING_PROFILE_ID }}
description: Created by GitHub Actions
base_url: https://oss.sonatype.org/service/local/
publish:
Expand All @@ -34,7 +34,7 @@ jobs:
java-version: 17
- name: Publish
env:
SONATYPE_REPOSITORY_ID: ${{ needs.create-staging-repository.outputs.repository-id }}
SONATYPE_REPOSITORY_ID: ${{ needs.create-staging-repository.outputs.repository_id }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
SIGNING_KEY: ${{ secrets.SIGNING_KEY }}
SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }}
Expand All @@ -49,7 +49,7 @@ jobs:
with:
username: arkivanov
password: ${{ secrets.SONATYPE_PASSWORD }}
staging_repository_id: ${{ needs.create-staging-repository.outputs.repository-id }}
staging_repository_id: ${{ needs.create-staging-repository.outputs.repository_id }}
base_url: https://oss.sonatype.org/service/local/
close_only: 'true'
check-publication:
Expand Down

0 comments on commit dc70f60

Please sign in to comment.