Revert "finish build script"

This reverts commit e24de7647a.
This commit is contained in:
zhangyuheng 2024-07-05 11:22:49 +08:00
parent 710b59cfc0
commit 4ad75ab9f1
4 changed files with 6 additions and 8 deletions

View File

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

View File

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

View File

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

View File

@ -2,6 +2,8 @@
<project version="4"> <project version="4">
<component name="VcsDirectoryMappings"> <component name="VcsDirectoryMappings">
<mapping directory="" vcs="Git" /> <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" /> <mapping directory="$PROJECT_DIR$/paper-api-generator/generated" vcs="Git" />
</component> </component>
</project> </project>