更新 .gitea/workflows/master.yaml

This commit is contained in:
2026-03-05 08:05:12 +00:00
parent 3bd0ecaa98
commit 99ae6a157b

View File

@@ -11,7 +11,7 @@ jobs:
steps:
- name: 計算版本號
id: version
uses: https://gitea.jsc.idv.tw/actions/calculate-version-action@v${{ vars.CALCULATE_VERSION }}
uses: https://gitea.jsc.idv.tw/actions/calculate-version-action@${{ vars.ACTION_CALCULATE_VERSION }}
with:
gitea-server: ${{ gitea.server_url }}
repository: ${{ gitea.repository }}
@@ -21,7 +21,7 @@ jobs:
with:
tag_name: "v${{ steps.version.outputs.VERSION }}"
- name: 清理舊版本 (保留最新2個)
uses: https://gitea.jsc.idv.tw/actions/cleanup-release-action@v${{ vars.CLEANUP_RELEASE_VERSION }}
uses: https://gitea.jsc.idv.tw/actions/cleanup-release-action@${{ vars.ACTION_CLEANUP_RELEASE_VERSION }}
with:
gitea-server: ${{ gitea.server_url }}
repository: ${{ gitea.repository }}