refactor: uppercase action inputs

This commit is contained in:
2026-05-15 02:16:26 +00:00
parent bfe5d46d19
commit 68e7842586
2 changed files with 16 additions and 16 deletions
+4 -4
View File
@@ -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 }}