feat: 從工具外部取得 token #17

Merged
jiantw83 merged 1 commits from develop into master 2026-03-20 08:17:47 +00:00
2 changed files with 5 additions and 2 deletions
Showing only changes of commit f2825c3740 - Show all commits

View File

@@ -12,10 +12,12 @@ jobs:
- name: 發布專案
uses: akkuman/gitea-release-action@${{ vars.ACTION_RELEASE_VERSION }}
with:
tag_name: "v0.0.6"
tag_name: "v0.0.7"
- name: 計算版本號
id: version
uses: https://gitea.jsc.idv.tw/actions/calculate-version@v0.0.5
uses: https://gitea.jsc.idv.tw/actions/calculate-version@v0.0.6
with:
RUNNER_TOKEN: ${{ secrets.RUNNER_TOKEN }}
- name: 清理舊版本 (保留最新2個)
uses: https://gitea.jsc.idv.tw/actions/cleanup-release@${{ vars.ACTION_CLEANUP_RELEASE_VERSION }}
with:

View File

@@ -4,6 +4,7 @@ author: 'Jeffery'
inputs:
RUNNER_TOKEN:
description: 'Gitea Runner 用來存取的 Tokenex: ${{ secrets.RUNNER_TOKEN }}'
required: true
outputs:
VERSION:
description: '計算出的新版本號'