refactor: uppercase action inputs
This commit is contained in:
+4
-4
@@ -2,14 +2,14 @@ name: 'CLEANUP OLD NUGET'
|
||||
description: '清理 Nuget 沒用到的資源'
|
||||
author: 'Jeffery'
|
||||
inputs:
|
||||
runner_token:
|
||||
RUNNER_TOKEN:
|
||||
description: 'Gitea API token, highest priority source'
|
||||
required: false
|
||||
keep_versions:
|
||||
KEEP_VERSIONS:
|
||||
description: 'Number of recent package versions to keep'
|
||||
required: false
|
||||
default: '2'
|
||||
dry_run:
|
||||
DRY_RUN:
|
||||
description: 'When true, only print delete candidates'
|
||||
required: false
|
||||
default: 'true'
|
||||
@@ -19,4 +19,4 @@ runs:
|
||||
env:
|
||||
GITEA_SERVER_URL: ${{ gitea.server_url }}
|
||||
GITEA_REPOSITORY: ${{ gitea.repository }}
|
||||
RUNNER_TOKEN: ${{ inputs.runner_token || secrets.GITEA_TOKEN || secrets.RUNNER_TOKEN }}
|
||||
RUNNER_TOKEN: ${{ inputs.RUNNER_TOKEN || secrets.GITEA_TOKEN || secrets.RUNNER_TOKEN }}
|
||||
|
||||
Reference in New Issue
Block a user