Skip to content

Commit

Permalink
Disable the discard step
Browse files Browse the repository at this point in the history
  • Loading branch information
Nillerr committed Mar 29, 2023
1 parent d829c16 commit 514377b
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/release.yml
Expand Up @@ -109,14 +109,14 @@ jobs:
- macos-host-check
if: ${{ always() && needs.create-staging-repository.result == 'success' }}
steps:
- name: Discard
if: ${{ needs.macos-host-check.result != 'success' }}
uses: nexus-actions/drop-nexus-staging-repo@v1
with:
username: ${{ secrets.SONATYPE_USERNAME }}
password: ${{ secrets.SONATYPE_PASSWORD }}
base_url: ${{ env.SONATYPE_BASE_URL }}
staging_repository_id: ${{ needs.create-staging-repository.outputs.repository-id }}
# - name: Discard
# if: ${{ needs.macos-host-check.result != 'success' }}
# uses: nexus-actions/drop-nexus-staging-repo@v1
# with:
# username: ${{ secrets.SONATYPE_USERNAME }}
# password: ${{ secrets.SONATYPE_PASSWORD }}
# base_url: ${{ env.SONATYPE_BASE_URL }}
# staging_repository_id: ${{ needs.create-staging-repository.outputs.repository-id }}

- name: Close
if: ${{ needs.macos-host-check.result == 'success' }}
Expand Down

0 comments on commit 514377b

Please sign in to comment.