更新 action.yaml
傳入存取權杖
This commit is contained in:
+3
-1
@@ -8,6 +8,8 @@ inputs:
|
||||
RELEASE_INDEX:
|
||||
description: '要推送的版本中第幾個成品,預設為 0'
|
||||
default: 0
|
||||
RUNNER_TOKEN:
|
||||
description: '存取權杖'
|
||||
runs:
|
||||
using: 'docker'
|
||||
image: 'Dockerfile'
|
||||
@@ -16,5 +18,5 @@ runs:
|
||||
GITEA_REPOSITORY: ${{ gitea.repository }}
|
||||
RELEASE_VERSION: ${{ inputs.RELEASE_VERSION }}
|
||||
RELEASE_INDEX: ${{ inputs.RELEASE_INDEX }}
|
||||
RUNNER_TOKEN: ${{ secrets.RUNNER_TOKEN || secrets.GITEA_TOKEN }}
|
||||
RUNNER_TOKEN: ${{ inputs.RUNNER_TOKEN || secrets.RUNNER_TOKEN || secrets.GITEA_TOKEN }}
|
||||
NUGET_AUTHOR: ${{ gitea.repository_owner }}
|
||||
Reference in New Issue
Block a user