feat: 加入 beta 版本計算

This commit is contained in:
Jeffery
2026-03-24 18:17:18 +08:00
parent 0ccffa8b1c
commit 16d2afca48
2 changed files with 27 additions and 3 deletions

View File

@@ -1,6 +1,10 @@
name: 'CALCULATE VERSION'
description: '計算版本號'
author: 'Jeffery'
inputs:
IS_BETA:
description: '是否為 beta 版本'
default: "false"
outputs:
version:
description: '計算出的版本號'
@@ -10,4 +14,5 @@ runs:
env:
GITEA_SERVER_URL: ${{ gitea.server_url }}
GITEA_REPOSITORY: ${{ gitea.repository }}
RUNNER_TOKEN: ${{ secrets.RUNNER_TOKEN }}
RUNNER_TOKEN: ${{ secrets.RUNNER_TOKEN }}
IS_BETA: ${{ inputs.IS_BETA }}