Skip to content

Commit

Permalink
神金3
Browse files Browse the repository at this point in the history
  • Loading branch information
EarzuChan committed Aug 15, 2024
1 parent 5ddd205 commit 02b0465
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,13 @@ jobs:
with:
name: Jars
path: |
pack-release/build/libs
launcher/build/libs
upload-release-assets:
runs-on: ubuntu-latest
name: 最后的伟大启动
if: github.event_name == 'release'
needs: [ build-jars, build]
steps:
- uses: actions/checkout@v2
Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ allprojects {
}

task uploadReleaseAssets {
def ghToken = project.findProperty("ghToken") ?: "defaultToken"
def postUrl = project.findProperty("postUrl") ?: "defaultUrl"
def ghToken = project.findProperty("ghToken") ?: ""
def postUrl = project.findProperty("postUrl") ?: ""

doLast {
def artifactsDir = file('temp/artifacts').absolutePath
Expand Down
4 changes: 2 additions & 2 deletions launcher-old/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ plugins {
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar

task packCore(type: ShadowJar) {
archiveBaseName.set('jvm-hook-framework')
archiveBaseName.set('sakiko-old')

configurations = [
project(':core-old').configurations.runtimeClasspath,
Expand All @@ -23,7 +23,7 @@ task packCore(type: ShadowJar) {
task packAll(type: Jar) {
dependsOn ':launcher-old:copyApi'

archiveBaseName.set('jvm-hook-framework')
archiveBaseName.set('sakiko-old')

from sourceSets.main.output
dependsOn configurations.runtimeClasspath
Expand Down

0 comments on commit 02b0465

Please sign in to comment.