mirror of
https://github.com/GTNewHorizons/Postea.git
synced 2026-11-19 19:59:39 +00:00
ci: provide repository owner and name on publishing
This commit is contained in:
1 parent
4cc9b11682
commit
02b223347d
1 file changed
+3
-1
@@ -45,7 +45,9 @@ jobs:
|
||||
files: build/libs/*.jar
|
||||
|
||||
- name: Publish package
|
||||
run: ./gradlew publish -Pgroup=com.github."${GITHUB_REPOSITORY%/*}" -Pversion="${{ env.RELEASE_VERSION }}"
|
||||
run: ./gradlew publish -Pgroup=com.github."$REPOISITORY_OWNER" -Pversion="${{ env.RELEASE_VERSION }}"
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
REPOSITORY_NAME: ${GITHUB_REPOSITORY#*/}
|
||||
REPOISITORY_OWNER: ${GITHUB_REPOSITORY%/*}
|
||||
|
||||
Reference in new issue
Block a user