Files
nuget-push/action.yaml
2026-03-21 19:57:53 +08:00

20 lines
632 B
YAML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
name: 'NUGET PUSH'
description: '推送 NUGET 套件'
author: 'Jeffery'
inputs:
RELEASE_VERSION:
description: '要推送的版本號ex: ${{ needs.calculate.outputs.version }}'
required: true
RELEASE_INDEX:
description: '要推送的版本中第幾個成品,預設為 0'
default: 0
runs:
using: 'docker'
image: 'Dockerfile'
env:
GITEA_SERVER_URL: ${{ gitea.server_url }}
GITEA_REPOSITORY: ${{ gitea.repository }}
RELEASE_VERSION: ${{ inputs.RELEASE_VERSION }}
RELEASE_INDEX: ${{ inputs.RELEASE_INDEX }}
RUNNER_TOKEN: ${{ secrets.RUNNER_TOKEN }}
NUGET_AUTHOR: ${{ gitea.author }}