diff --git a/.github/ISSUE_TEMPLATE/report_bug.en_US.yml b/.github/ISSUE_TEMPLATE/report_bug.en_US.yml index 1171443..62af36c 100644 --- a/.github/ISSUE_TEMPLATE/report_bug.en_US.yml +++ b/.github/ISSUE_TEMPLATE/report_bug.en_US.yml @@ -38,7 +38,7 @@ body: description: | The files are in the folder `/crash-reports` [Generate URL](https://mclo.gs) - placeholder: "https://mclo.gs/xxxxxx" + placeholder: "Ex: https://mclo.gs/xxxxxx" - type: input id: csl-log attributes: @@ -46,7 +46,7 @@ body: description: | The path to the file is `/CustomSkinLoader/CustomSkinLoader.log`. [Generate URL](https://mclo.gs) - placeholder: "https://mclo.gs/xxxxxx" + placeholder: "Ex: https://mclo.gs/xxxxxx" - type: input id: latest-log attributes: @@ -54,28 +54,37 @@ body: description: | The path to the file is `/logs/latest.log`. [Generate URL](https://mclo.gs) - placeholder: "https://mclo.gs/xxxxxx" + placeholder: "Ex: https://mclo.gs/xxxxxx" - type: input id: forge-log attributes: - label: "[Only Forge User] Link to debug.log (=>1.12.2) or fml-client-latest.log (=<1.12.2) if applicable" + label: "[Only Forge User] Link to Forge Log if applicable" description: | The path to the file is `/logs/debug.log` or `/logs/fml-client-latest.log`. if your mod loader isn't `Forge`, URL can set empty [Generate URL](https://mclo.gs) - placeholder: "https://mclo.gs/xxxxxx" + placeholder: "Ex: https://mclo.gs/xxxxxx" - type: input id: mod-version attributes: label: Mod Version + placeholder: "Ex: 14.16" validations: required: true - type: input id: mc-version attributes: label: Minecraft Version + placeholder: "Ex: 1.19.4" validations: required: true + - type: input + id: mc-launcher-version + attributes: + label: Minecraft Launcher Name and Version + placeholder: "Ex: HMCL v3.5.4.232" + description: | + If you don't know the version of the game, you can just fill in the name of the game launcher - type: dropdown id: loader-type attributes: @@ -109,3 +118,7 @@ body: - label: | This is a valid bug (I am able to reproduce this on the latest dev build). required: true + - label: | + This problem is triggered in the latest version of the mod (if not the latest please upgrade the mod first) + required: true + diff --git a/.github/ISSUE_TEMPLATE/report_bug.zh_CN.yml b/.github/ISSUE_TEMPLATE/report_bug.zh_CN.yml index 0938948..01e10de 100644 --- a/.github/ISSUE_TEMPLATE/report_bug.zh_CN.yml +++ b/.github/ISSUE_TEMPLATE/report_bug.zh_CN.yml @@ -38,7 +38,7 @@ body: 在游戏目录下的 `crash-reports` 文件夹下,里面找最近的报告生成时间 客户端若无崩溃则直接填写 `客户端无崩溃` [生成连接](https://mclo.gs) - placeholder: "https://mclo.gs/xxxxxx" + placeholder: "示例: https://mclo.gs/xxxxxx" - type: input id: csl-log attributes: @@ -46,7 +46,7 @@ body: description: | 文件路径:`<游戏路径>/CustomSkinLoader/CustomSkinLoader.log`. [生成连接](https://mclo.gs) - placeholder: "https://mclo.gs/xxxxxx" + placeholder: "示例: https://mclo.gs/xxxxxx" - type: input id: latest-log attributes: @@ -54,26 +54,37 @@ body: description: | 文件路径:`<游戏路径>/logs/latest.log`. [生成连接](https://mclo.gs) - placeholder: "https://mclo.gs/xxxxxx" + placeholder: "示例: https://mclo.gs/xxxxxx" - type: input id: forge-log attributes: - label: "[仅Forge用户] debug.log (=>1.12.2) 或者 fml-client-latest.log (=<1.12.2) 查看地址" + label: "[仅Forge用户] Forge Log 查看地址" description: | 文件路径:`<游戏路径>/logs/debug.log` 或者 `<游戏路径>/logs/fml-client-latest.log`. 若没有使用 `Forge` 加载器的,可以不填写 [生成连接](https://mclo.gs) - placeholder: "https://mclo.gs/xxxxxx" + placeholder: "示例: https://mclo.gs/xxxxxx" - type: input id: mod-version attributes: label: 模组版本 + placeholder: "示例: 14.16" validations: required: true - type: input id: mc-version attributes: label: Minecraft游戏版本 + placeholder: "示例: 1.19.4" + validations: + required: true + - type: input + id: mc-launcher-version + attributes: + label: Minecraft启动器 名称 及 版本 + placeholder: "示例: HMCL v3.5.4.232" + description: | + 若不知道游戏版本 可以只填写游戏启动器的名称 validations: required: true - type: dropdown @@ -109,3 +120,6 @@ body: - label: | 确认你的模组版本是最新的开发版本,且文件下载正确,没有出现类似forge下载了fabric版的这类基础问题 required: true + - label: | + 这个问题是在最新的mod版本触发(若不是最新的请先升级mod) + required: true diff --git a/.github/workflows/common.yml b/.github/workflows/common.yml index 05803e6..c032ee6 100644 --- a/.github/workflows/common.yml +++ b/.github/workflows/common.yml @@ -39,7 +39,22 @@ jobs: export GIT_COMMIT_DESC=$(git log --format=%B -n 1 $GITHUB_SHA) ./gradlew clean build --stacktrace - - name: Publish + uses: actions/upload-artifact@v3 + name: Publish to Github Artifact + with: + name: CustomSkinLoader-${{ inputs.type }}-${{ github.run_number }} + path: build/libs + - + uses: softprops/action-gh-release@v1 + name: Publish to Github release + if: ${{ inputs.publish-task }} + with: + repo_token: ${{ secrets.GITHUB_TOKEN }} + files: | + build/libs/* + tag_name: ${{ github.ref }} + - + name: Publish to CurseForge/Modrinth if: ${{ inputs.publish-task }} env: COS_BUCKET: ${{ secrets.COS_BUCKET }} @@ -51,9 +66,4 @@ jobs: run: | export GIT_COMMIT_DESC=$(git log --format=%B -n 1 $GITHUB_SHA) ./gradlew ${{ inputs.publish-task }} --info --stacktrace - # ./gradlew publishGprPublicationToGitHubPackagesRepository - - - uses: actions/upload-artifact@v3 - with: - name: CustomSkinLoader-${{ inputs.type }}-${{ github.run_number }} - path: build/libs \ No newline at end of file + # ./gradlew publishGprPublicationToGitHubPackagesRepository