diff --git a/action.yaml b/action.yaml index 402e008..1d97d6d 100644 --- a/action.yaml +++ b/action.yaml @@ -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 }} \ No newline at end of file