File tree Expand file tree Collapse file tree 3 files changed +6
-15
lines changed Expand file tree Collapse file tree 3 files changed +6
-15
lines changed Original file line number Diff line number Diff line change @@ -14,16 +14,13 @@ jobs:
14
14
steps :
15
15
- uses : actions/checkout@v2
16
16
17
- - name : Set up JDK 17
17
+ - name : Set up JDK
18
18
uses : actions/setup-java@v2
19
19
with :
20
- distribution : adopt
20
+ distribution : temurin
21
21
java-version : 17
22
22
cache : gradle
23
23
24
- - name : Grant execute permission for gradlew
25
- run : chmod +x gradlew
26
-
27
24
- name : Build
28
25
run : gradle build
29
26
Original file line number Diff line number Diff line change @@ -14,16 +14,13 @@ jobs:
14
14
steps :
15
15
- uses : actions/checkout@v2
16
16
17
- - name : Set up JDK 17
17
+ - name : Set up JDK
18
18
uses : actions/setup-java@v2
19
19
with :
20
- distribution : adopt
20
+ distribution : temurin
21
21
java-version : 17
22
22
cache : gradle
23
23
24
- - name : Grant execute permission for gradlew
25
- run : chmod +x gradlew
26
-
27
24
- name : Run gradle build and publish
28
25
run : gradle build publish -PmineinabyssMavenUsername=${{ secrets.MAVEN_PUBLISH_USERNAME }} -PmineinabyssMavenPassword=${{ secrets.MAVEN_PUBLISH_PASSWORD }}
29
26
41
38
shell : bash
42
39
id : extract_version
43
40
run : |
44
- version=`./gradlew properties --no-daemon --console=plain -q | grep "^version:" | awk '{printf $2}'`
41
+ version=`gradle properties --console=plain -q | grep "^version:" | awk '{printf $2}'`
45
42
echo "::set-output name=version::$version"
46
43
47
44
- name : Create GitHub Release
51
48
prerelease : false
52
49
automatic_release_tag : v${{ steps.extract_version.outputs.version }}
53
50
files : |
54
- build/libs/*-all .jar
51
+ build/libs/*[0-9] .jar
Original file line number Diff line number Diff line change 1
- import Com_mineinabyss_conventions_platform_gradle.Deps
2
- import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
3
-
4
1
val idofrontVersion: String by project
5
2
6
3
plugins {
You can’t perform that action at this time.
0 commit comments