Undo workflow changes
The artifact is always zipped anyways.
This commit is contained in:
7
.github/workflows/compile.yml
vendored
7
.github/workflows/compile.yml
vendored
@@ -16,10 +16,7 @@ jobs:
|
|||||||
java-version: 17
|
java-version: 17
|
||||||
|
|
||||||
- name: Setup Gradle
|
- name: Setup Gradle
|
||||||
uses: gradle/gradle-build-action@v3
|
uses: gradle/actions/setup-gradle@v4
|
||||||
|
|
||||||
- name: Get Plugin Name
|
|
||||||
run: echo "PLUGIN_NAME=$(${{ github.workspace }}/gradlew -q getVersion)" >> $GITHUB_ENV
|
|
||||||
|
|
||||||
- name: Execute Gradle build
|
- name: Execute Gradle build
|
||||||
run: ./gradlew build
|
run: ./gradlew build
|
||||||
@@ -29,4 +26,4 @@ jobs:
|
|||||||
if: success()
|
if: success()
|
||||||
with:
|
with:
|
||||||
name: TerminatorPlus
|
name: TerminatorPlus
|
||||||
path: build/libs/${{ env.PLUGIN_NAME }}
|
path: build/libs/
|
||||||
|
|||||||
@@ -41,9 +41,3 @@ tasks.register("copyPlugin", Copy::class.java) {
|
|||||||
from("build/libs/" + jarName + ".jar")
|
from("build/libs/" + jarName + ".jar")
|
||||||
into("run/plugins")
|
into("run/plugins")
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks.register("getJarName") {
|
|
||||||
doLast {
|
|
||||||
println(jarName + ".jar")
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user