We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07aea7a commit 6210df3Copy full SHA for 6210df3
.github/workflows/publish.yml
@@ -0,0 +1,24 @@
1
+name: Gradle Plugin Publish
2
+on:
3
+ release:
4
+ types:
5
+ - published
6
+
7
+jobs:
8
+ publish:
9
+ runs-on: ubuntu-latest
10
+ name: Publish plugin to gradle plugins portal
11
+ steps:
12
+ - uses: actions/checkout@v2
13
+ - name: Set up JDK 12
14
+ uses: actions/setup-java@v1
15
+ with:
16
+ java-version: 12
17
+ - name: Grant execute permission for gradlew
18
+ run: chmod +x gradlew
19
+ - run: cat ./gradle.properties
20
+ - name: Publish plugins with gradle
21
+ env:
22
+ GRADLE_PUBLISH_KEY: ${{ secrets.PUBLISH_KEY }}
23
+ GRADLE_PUBLISH_SECRET: ${{ secrets.PUBLISH_SECRET }}
24
+ run: ./gradlew publishPlugins -Pgradle.publish.key=$GRADLE_PUBLISH_KEY -Pgradle.publish.secret=$GRADLE_PUBLISH_SECRET
0 commit comments