File tree Expand file tree Collapse file tree 3 files changed +17
-19
lines changed Expand file tree Collapse file tree 3 files changed +17
-19
lines changed Original file line number Diff line number Diff line change @@ -5,19 +5,18 @@ on: [workflow_dispatch]
5
5
jobs :
6
6
publish :
7
7
runs-on : ubuntu-latest
8
- env :
9
- GRADLE_PUBLISH_KEY : ${{ secrets.GRADLE_PUBLISH_KEY }}
10
- GRADLE_PUBLISH_SECRET : ${{ secrets.GRADLE_PUBLISH_SECRET }}
11
8
steps :
12
- - name : Git checkout
13
- uses : actions/checkout@v3
9
+ - uses : actions/checkout@v4
14
10
- name : Set up JDK 17
15
- uses : actions/setup-java@v2
11
+ uses : actions/setup-java@v3
16
12
with :
17
- cache : gradle
18
- distribution : temurin
19
- java-version : 17
20
- - name : Create gradle.properties
21
- run : echo -e "gradle.publish.key=$GRADLE_PUBLISH_KEY\ngradle.publish.secret=$GRADLE_PUBLISH_SECRET" > gradle.properties
22
- - name : Build with Gradle
23
- run : ./gradlew build -x test publishPlugins
13
+ java-version : ' 17'
14
+ distribution : ' zulu'
15
+ - name : Publish Gradle Plugins
16
+ uses : gradle/gradle-build-action@v2
17
+ with :
18
+ arguments : |
19
+ build
20
+ publishPlugins
21
+ -Pgradle.publish.key=${{ secrets.GRADLE_PUBLISH_KEY }}
22
+ -Pgradle.publish.secret=${{ secrets.GRADLE_PUBLISH_SECRET }}
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ project.version.with {
24
24
major = pluginVersionMajor as int
25
25
minor = pluginVersionMinor as int
26
26
patch = pluginVersionPatch as int
27
- if (hasProperty(' pluginVersionLabel' )) {
27
+ if (project . hasProperty(' pluginVersionLabel' )) {
28
28
preRelease = pluginVersionLabel
29
29
}
30
30
releaseBuild = pluginReleaseBuild
@@ -75,7 +75,6 @@ shadowJar {
75
75
76
76
gradlePlugin {
77
77
website = vcsUrl = ' https://github.com/beryx/badass-jlink-plugin'
78
-
79
78
plugins {
80
79
jlink {
81
80
id = ' org.beryx.jlink'
Original file line number Diff line number Diff line change 1
- pluginVersionMajor = 2
2
- pluginVersionMinor = 27
1
+ pluginVersionMajor = 3
2
+ pluginVersionMinor = 0
3
3
pluginVersionPatch = 0
4
- # pluginVersionLabel = rc-1
5
- pluginReleaseBuild = false
4
+ pluginVersionLabel = rc-1
5
+ pluginReleaseBuild = true
You can’t perform that action at this time.
0 commit comments