Skip to content

Commit c69395c

Browse files
chore: test
1 parent eb3e8e3 commit c69395c

File tree

2 files changed

+27
-3
lines changed

2 files changed

+27
-3
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
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"

.github/workflows/test-workflow.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
name: Test Sonatype
22

33
on:
4-
push:
5-
branches:
6-
- "mdwairi/configure-publish-tasks"
4+
workflow_dispatch:
5+
76

87
permissions:
98
contents: write

0 commit comments

Comments
 (0)