Skip to content

Commit 480ae64

Browse files
committed
Publish correct package
1 parent dd7a6f6 commit 480ae64

File tree

3 files changed

+6
-15
lines changed

3 files changed

+6
-15
lines changed

.github/workflows/gradle-ci.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,13 @@ jobs:
1414
steps:
1515
- uses: actions/checkout@v2
1616

17-
- name: Set up JDK 17
17+
- name: Set up JDK
1818
uses: actions/setup-java@v2
1919
with:
20-
distribution: adopt
20+
distribution: temurin
2121
java-version: 17
2222
cache: gradle
2323

24-
- name: Grant execute permission for gradlew
25-
run: chmod +x gradlew
26-
2724
- name: Build
2825
run: gradle build
2926

.github/workflows/publish-packages.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,13 @@ jobs:
1414
steps:
1515
- uses: actions/checkout@v2
1616

17-
- name: Set up JDK 17
17+
- name: Set up JDK
1818
uses: actions/setup-java@v2
1919
with:
20-
distribution: adopt
20+
distribution: temurin
2121
java-version: 17
2222
cache: gradle
2323

24-
- name: Grant execute permission for gradlew
25-
run: chmod +x gradlew
26-
2724
- name: Run gradle build and publish
2825
run: gradle build publish -PmineinabyssMavenUsername=${{ secrets.MAVEN_PUBLISH_USERNAME }} -PmineinabyssMavenPassword=${{ secrets.MAVEN_PUBLISH_PASSWORD }}
2926

@@ -41,7 +38,7 @@ jobs:
4138
shell: bash
4239
id: extract_version
4340
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}'`
4542
echo "::set-output name=version::$version"
4643
4744
- name: Create GitHub Release
@@ -51,4 +48,4 @@ jobs:
5148
prerelease: false
5249
automatic_release_tag: v${{ steps.extract_version.outputs.version }}
5350
files: |
54-
build/libs/*-all.jar
51+
build/libs/*[0-9].jar

guiy-example/build.gradle.kts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
import Com_mineinabyss_conventions_platform_gradle.Deps
2-
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
3-
41
val idofrontVersion: String by project
52

63
plugins {

0 commit comments

Comments
 (0)