feat: 傳入存取權杖

Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
Jeffery
2026-05-06 08:38:50 +08:00
parent 4c93b8191d
commit ffe205ed12
+5 -1
View File
@@ -8,6 +8,9 @@ inputs:
RELEASE_VERSION: RELEASE_VERSION:
description: '專案版本' description: '專案版本'
required: true required: true
RUNNER_TOKEN:
description: '存取權杖'
required: true
outputs: outputs:
text: text:
description: '輸出的文字' description: '輸出的文字'
@@ -25,7 +28,8 @@ runs:
target_commitish: master target_commitish: master
files: | files: |
${{ inputs.PROJECT_NAME }}.${{ inputs.RELEASE_VERSION }}.zip ${{ inputs.PROJECT_NAME }}.${{ inputs.RELEASE_VERSION }}.zip
- uses: https://gitea.jsc.idv.tw/actions/nuget-push@v0.1.4 - uses: https://gitea.jsc.idv.tw/actions/nuget-push@v0.1.5
with: with:
RELEASE_VERSION: "${{ inputs.RELEASE_VERSION }}" RELEASE_VERSION: "${{ inputs.RELEASE_VERSION }}"
RUNNER_TOKEN: "${{ inputs.RUNNER_TOKEN }}"
- uses: https://gitea.jsc.idv.tw/actions/cleanup-release@v0.4.0 - uses: https://gitea.jsc.idv.tw/actions/cleanup-release@v0.4.0