Compare commits

...

2 Commits

Author SHA1 Message Date
a0910e0a5a Merge pull request '更新 .gitea/workflows/master.yaml' (#1) from develop into master
Some checks failed
/ CD > 發布專案 (push) Failing after 0s
Reviewed-on: #1
2026-03-05 08:03:03 +00:00
132a7bc904 更新 .gitea/workflows/master.yaml 2026-03-05 08:01:30 +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-action@v${{ vars.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-action@v${{ vars.CLEANUP_RELEASE_VERSION }}
with:
gitea-server: ${{ gitea.server_url }}
repository: ${{ gitea.repository }}