Skip to content

Commit 74e6d0f

Browse files
committed
Update CI workflow to pass version explicitly during plugin publishing
1 parent efc522c commit 74e6d0f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,8 @@ jobs:
3535

3636
- name: Publish plugin
3737
if: github.event_name == 'push' && endsWith(steps.set-version.outputs.version, 'SNAPSHOT') == false
38-
run: ./gradlew :compile:publishPlugins -Pgradle.publish.key=${{ secrets.GRADLE_PUBLISH_KEY }} -Pgradle.publish.secret=${{ secrets.GRADLE_PUBLISH_SECRET }}
38+
run: >
39+
./gradlew :compile:publishPlugins
40+
-Pgradle.publish.key=${{ secrets.GRADLE_PUBLISH_KEY }}
41+
-Pgradle.publish.secret=${{ secrets.GRADLE_PUBLISH_SECRET }}
42+
-Pversion=${{ steps.set-version.outputs.version }}

0 commit comments

Comments
 (0)