5 Commits

Author SHA1 Message Date
c4bed9cd90 更新 .gitea/workflows/master.yaml 2026-03-05 08:06:46 +00:00
15a1329f18 更新 .gitea/workflows/master.yaml 2026-03-05 08:00:31 +00:00
61bf161a0e 更新 .gitea/workflows/master.yaml 2026-03-05 07:58:38 +00:00
afac1272c3 更新 .gitea/workflows/master.yaml 2026-03-05 07:04:52 +00:00
1e83061a9b 更新 .gitea/workflows/master.yaml 2026-03-05 07:02:39 +00:00

View File

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