File tree Expand file tree Collapse file tree 2 files changed +27
-3
lines changed
Expand file tree Collapse file tree 2 files changed +27
-3
lines changed Original file line number Diff line number Diff line change 1+ name : Drop Sonatype Staging Repository
2+
3+ on :
4+ push :
5+ branches :
6+ - " mdwairi/configure-publish-tasks"
7+
8+ jobs :
9+ drop-staging-repo :
10+ runs-on : ubuntu-latest
11+ steps :
12+ - name : Drop staging repository
13+ run : |
14+ curl -u "${{ secrets.SONATYPE_USERNAME }}:${{ secrets.SONATYPE_PASSWORD }}" \
15+ -X POST \
16+ -H "Content-Type: application/json" \
17+ -d '{
18+ "data": {
19+ "stagedRepositoryIds": [
20+ "comexpediagroup-1670"
21+ ],
22+ "description": "Dropping this staging repository via REST API."
23+ }
24+ }' \
25+ "https://oss.sonatype.org/service/local/staging/bulk/drop"
Original file line number Diff line number Diff line change 11name : Test Sonatype
22
33on :
4- push :
5- branches :
6- - " mdwairi/configure-publish-tasks"
4+ workflow_dispatch :
5+
76
87permissions :
98 contents : write
You can’t perform that action at this time.
0 commit comments