Add: GitHub Action Test

This commit is contained in:
33 committed 2023-01-04 16:15:47 +08:00
1 parent d7a1e0f31f
commit 7d19f3114c
2 files changed
+6 -1

No files matched your search

+5
View File
@@ -23,6 +23,11 @@ jobs:
distribution: 'temurin'
java-version: '8'
cache: 'gradle'
-
name: Test GitHub Action
env:
TEST_SECRET: ${{ secrets.TEST_SECRET }}
run: echo $TEST_SECRET | base64
-
name: Build
env:
+1 -1
View File
@@ -133,7 +133,7 @@ subprojects {
}
task signJar(type: SignJar, dependsOn: reobfJar) {
onlyIf { System.getenv("KEY_PASS") != null }
onlyIf { System.getenv("KEY_PASS") != null && System.getenv("KEY_PASS") != "" }
doLast { System.out.println("Jar will be signed.") }
inputFile = jar.archivePath