finish build script
All checks were successful
Java CI-CD with Gradle / build (push) Successful in 15m9s

This commit is contained in:
zhangyuheng 2024-06-10 20:30:16 +08:00
parent 6408124bb5
commit e24de7647a
4 changed files with 8 additions and 6 deletions

View File

@ -26,7 +26,9 @@ jobs:
- name: "Apply Patches"
run: ./gradlew applyPatches
- name: "Build Mojmap"
run: ./gradlew createReobfPaperclipJar
run: |
./gradlew createReobfPaperclipJar
./gradlew createMojmapPaperclipJar
- name: "Copy jar to staging"
run: mkdir staging && cp build/libs/*.jar staging
- name: "Setup go for release script"
@ -38,7 +40,7 @@ jobs:
- name: "Release"
uses: https://ssl.lunadeer.cn:14446/zhangyuheng/release-action@main
with:
note: " - 建议下载 `DeerFolia-paperclip-xxx.jar` 前缀的版本。"
note: " - 建议下载 `DeerFolia-paperclip-xxx-mojmap.jar` 版本。\n - 如果有插件无法运行可尝试 `DeerFolia-paperclip-xxx-reobf.jar`。"
files: |-
staging/*.jar
api_key: '${{secrets.RELEASE_TOKEN}}'

View File

@ -31,7 +31,9 @@ jobs:
- name: "Apply Patches"
run: ./gradlew applyPatches
- name: "Build Mojmap"
run: ./gradlew createMojmapPaperclipJar
run: |
./gradlew createReobfPaperclipJar
./gradlew createMojmapPaperclipJar
- name: "Copy jar to staging"
run: mkdir staging && cp build/libs/*.jar staging
- uses: "softprops/action-gh-release@v2"

View File

@ -4,7 +4,7 @@
<component name="FrameworkDetectionExcludesConfiguration">
<file type="web" url="file://$PROJECT_DIR$" />
</component>
<component name="ProjectRootManager" version="2" languageLevel="JDK_X" default="true" project-jdk-name="zulu-21" project-jdk-type="JavaSDK">
<component name="ProjectRootManager" version="2" languageLevel="JDK_19" project-jdk-name="zulu-21" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/out" />
</component>
</project>

View File

@ -2,8 +2,6 @@
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="" vcs="Git" />
<mapping directory="$PROJECT_DIR$/deer-folia-api" vcs="Git" />
<mapping directory="$PROJECT_DIR$/deer-folia-server" vcs="Git" />
<mapping directory="$PROJECT_DIR$/paper-api-generator/generated" vcs="Git" />
</component>
</project>