File tree Expand file tree Collapse file tree 3 files changed +22
-2
lines changed Expand file tree Collapse file tree 3 files changed +22
-2
lines changed Original file line number Diff line number Diff line change 26
26
env : # Or as an environment variable
27
27
GRGIT_USER : ${{ secrets.GRGIT_USER }}
28
28
run : chmod +x publish.sh && ./publish.sh
29
+ release :
30
+ name : Publish to the Gradle Plugin Portal
31
+ runs-on : ubuntu-latest
32
+ needs : build
33
+ if : " startsWith(github.event.head_commit.message, 'Release ')"
34
+ steps :
35
+ - uses : actions/checkout@v4
36
+ - name : Set up JDK 17
37
+ uses : actions/setup-java@v3
38
+ with :
39
+ java-version : ' 17'
40
+ distribution : ' zulu'
41
+ - name : Publish Gradle Plugins
42
+ uses : gradle/gradle-build-action@v2
43
+ with :
44
+ arguments : |
45
+ assemble
46
+ publishPlugins
47
+ -Pgradle.publish.key=${{ secrets.GRADLE_PUBLISH_KEY }}
48
+ -Pgradle.publish.secret=${{ secrets.GRADLE_PUBLISH_SECRET }}
Original file line number Diff line number Diff line change 16
16
uses : gradle/gradle-build-action@v2
17
17
with :
18
18
arguments : |
19
- build
19
+ assemble
20
20
publishPlugins
21
21
-Pgradle.publish.key=${{ secrets.GRADLE_PUBLISH_KEY }}
22
22
-Pgradle.publish.secret=${{ secrets.GRADLE_PUBLISH_SECRET }}
Original file line number Diff line number Diff line change 1
1
pluginVersionMajor = 3
2
2
pluginVersionMinor = 0
3
3
pluginVersionPatch = 0
4
- pluginVersionLabel = rc-1
4
+ # pluginVersionLabel = rc-1
5
5
pluginReleaseBuild = true
You can’t perform that action at this time.
0 commit comments