Skip to content

Commit

Permalink
ci: fix real release (#30)
Browse files Browse the repository at this point in the history
* ci: fix publish credentials

* ci: fix release creation
  • Loading branch information
xenoterracide authored Oct 17, 2024
1 parent 88bf98c commit 718f226
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/gp-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ jobs:
packages: write
env:
IS_PUBLISHING: 1
ORG_GRADLE_PROJECT_ghUsername: ${{ secrets.GITHUB_ACTOR }}
ORG_GRADLE_PROJECT_ghPassword: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -28,7 +30,7 @@ jobs:
env:
GRADLE_PUBLISH_KEY: ${{ secrets.GRADLE_PUBLISH_KEY }}
GRADLE_PUBLISH_SECRET: ${{ secrets.GRADLE_PUBLISH_SECRET }}
- run: gh release create ${{ github.ref_name }} --generate-notes build/libs/*.jar --verify-tag
- run: gh release create ${{ github.ref_name }} --generate-notes module/*/build/libs/*.jar --verify-tag
env:
GH_TOKEN: ${{ github.token }}
- run: ./gradlew publishPlugins
Expand Down

0 comments on commit 718f226

Please sign in to comment.