Skip to content

Commit 94101e1

Browse files
committed
[ci] use environment variables
1 parent e0779f0 commit 94101e1

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/Release.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,10 @@ jobs:
2323
java-version: '17'
2424
check-latest: true
2525

26-
- name: Publish Release
27-
run: >
28-
./gradlew --stacktrace :plugin:publishPlugins
29-
-Pgradle.publish.key=${{ secrets.GRADLE_PUBLISH_KEY }}
30-
-Pgradle.publish.secret=${{ secrets.GRADLE_PUBLISH_SECRET }}
26+
run: ./gradlew --stacktrace :plugin:publishPlugins
27+
env:
28+
GRADLE_PUBLISH_KEY: ${{ secrets.GRADLE_PUBLISH_KEY }}
29+
GRADLE_PUBLISH_SECRET: ${{ secrets.GRADLE_PUBLISH_SECRET }}
3130

3231
- name: Extract release notes
3332
id: release_notes

0 commit comments

Comments
 (0)