feat: 加入 beta 版本計算
This commit is contained in:
@@ -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 }}
|
||||
Reference in New Issue
Block a user