Files
nuget-push/action.yaml
T

20 lines
642 B
YAML

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.repository_owner }}