Skip to content

Commit 0dbbc8a

Browse files
committed
🚀#6: Update release workflow
1 parent 65d8885 commit 0dbbc8a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎.github/workflows/release.yml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ permissions:
1111
actions: write
1212
id-token: write
1313
contents: write
14+
packages: write
1415

1516
jobs:
1617
build:
@@ -24,7 +25,7 @@ jobs:
2425
- name: Grant execute permission for gradlew
2526
run: chmod +x gradlew
2627
- name: Build with Gradle
27-
run: ./gradlew build -x setupJdks
28+
run: ./gradlew -Pversion=${{ github.event.inputs.version }} build -x setupJdks
2829
# TODO: enable
2930
# - name: Publish to OSSRH
3031
# run: ./gradlew -Pversion=${{ github.event.inputs.version }} publish closeAndReleaseRepository

0 commit comments

Comments
 (0)