chore: update release workflows

This commit is contained in:
2026-05-16 16:07:37 +00:00
parent 47f545dee4
commit de60f9ee7f
3 changed files with 12 additions and 8 deletions
+7 -7
View File
@@ -15,21 +15,21 @@ runs:
using: 'composite'
steps:
- name: 壓縮套件
uses: https://gitea.jsc.idv.tw/actions/zip@v0.0.6
uses: https://gitea.jsc.idv.tw/actions/zip@v0.0.7
with:
RELEASE_VERSION: ${{ inputs.RELEASE_VERSION }}
- name: 發布套件
uses: akkuman/gitea-release-action@v1
with:
name: "${{ inputs.PROJECT_NAME }} v${{ inputs.RELEASE_VERSION }}"
tag_name: "v${{ inputs.RELEASE_VERSION }}"
name: ${{ inputs.PROJECT_NAME }} v${{ inputs.RELEASE_VERSION }}
tag_name: v${{ inputs.RELEASE_VERSION }}
target_commitish: master
files: |
${{ inputs.PROJECT_NAME }}.${{ inputs.RELEASE_VERSION }}.zip
- name: 推送套件
uses: https://gitea.jsc.idv.tw/actions/nuget-push@v0.1.6
uses: https://gitea.jsc.idv.tw/actions/nuget-push@v0.1.7
with:
RELEASE_VERSION: "${{ inputs.RELEASE_VERSION }}"
RUNNER_TOKEN: "${{ inputs.RUNNER_TOKEN }}"
RELEASE_VERSION: ${{ inputs.RELEASE_VERSION }}
RUNNER_TOKEN: ${{ inputs.RUNNER_TOKEN }}
- name: 清理發布
uses: https://gitea.jsc.idv.tw/actions/cleanup-release@v0.4.1
uses: https://gitea.jsc.idv.tw/actions/cleanup-release@v0.4.2