Skip to content

Commit c002360

Browse files
committed
[ci skip] Fixed copy paste error
Copy-pasted the wrong file
1 parent 99b89ae commit c002360

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

.github/workflows/hangar-publish.yml

+4-8
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,11 @@
1-
name: Maven Publish
1+
name: Hangar Publish
22
on:
33
release:
44
types: [ prereleased, released ]
55
jobs:
66
build:
7-
permissions:
8-
contents: read
9-
pull-requests: write
107
env:
11-
REPOSITORY_USER: ${{ secrets.REPOSITORY_USER }}
12-
REPOSITORY_TOKEN: ${{ secrets.REPOSITORY_TOKEN }}
8+
HANGAR_API_TOKEN: ${{ secrets.HANGAR_API_TOKEN }}
139
runs-on: ubuntu-latest
1410
steps:
1511
- name: Checkout sources
@@ -21,5 +17,5 @@ jobs:
2117
java-version: 21
2218
- name: Setup Gradle
2319
uses: gradle/actions/setup-gradle@v4
24-
- name: Publish with Gradle to Repository
25-
run: ./gradlew publish
20+
- name: Publish with Gradle to Hangar
21+
run: ./gradlew publishAllPublicationsToHangar

0 commit comments

Comments
 (0)