chore: publish #11
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Drop Sonatype Staging Repository | |
| on: | |
| push: | |
| branches: | |
| - "mdwairi/configure-publish-tasks" | |
| jobs: | |
| drop-staging-repo: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Drop staging repository | |
| run: | | |
| curl -u "${{ secrets.SONATYPE_USERNAME }}:${{ secrets.SONATYPE_PASSWORD }}" \ | |
| -X POST \ | |
| -H "Content-Type: application/json" \ | |
| -d '{ | |
| "data": { | |
| "stagedRepositoryIds": [ | |
| "comexpediagroup-1674" | |
| ], | |
| "description": "Dropping this staging repository via REST API." | |
| } | |
| }' \ | |
| "https://oss.sonatype.org/service/local/staging/bulk/drop" |