Skip to content

Commit 5d47410

Browse files
committed
Pass project name to be published to GHPR
1 parent 59b3344 commit 5d47410

File tree

1 file changed

+5
-12
lines changed

1 file changed

+5
-12
lines changed

.github/workflows/publish.yml

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,9 @@ on:
88
jobs:
99
publish:
1010
uses: sava-software/sava-build/.github/workflows/publish.yml@main
11+
permissions:
12+
contents: read
13+
packages: write
1114
secrets: inherit
12-
13-
github-publish:
14-
runs-on: ubuntu-latest
15-
steps:
16-
- name: Publish Github Packages
17-
run: ./gradlew --stacktrace -Psign=true -PjavaVersion=${{ needs.publish.outputs.java-version }} -Pversion=${{ github.ref_name }} :json-iterator:publish
18-
env:
19-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
20-
GPG_PUBLISH_SECRET: ${{ secrets.GPG_PUBLISH_SECRET }}
21-
GPG_PUBLISH_PHRASE: ${{ secrets.GPG_PUBLISH_PHRASE }}
22-
MAVEN_CENTRAL_TOKEN: ${{ secrets.MAVEN_CENTRAL_TOKEN }}
23-
MAVEN_CENTRAL_SECRET: ${{ secrets.MAVEN_CENTRAL_SECRET }}
15+
with:
16+
projects: "json-iterator"

0 commit comments

Comments
 (0)