https://github.com/sitkoru/nuget-release-action
Action to release Nuget packages
https://github.com/sitkoru/nuget-release-action
Last synced: 8 months ago
JSON representation
Action to release Nuget packages
- Host: GitHub
- URL: https://github.com/sitkoru/nuget-release-action
- Owner: sitkoru
- License: mit
- Created: 2022-01-11T07:59:12.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-09-04T23:03:56.000Z (almost 3 years ago)
- Last Synced: 2025-10-18T10:54:24.927Z (8 months ago)
- Language: JavaScript
- Size: 10.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# nuget-release-action
Action to release Nuget packages
```yml
name: Release
on:
release:
types:
- released
workflow_dispatch:
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Prepare
id: prep
shell: bash
run: |
VERSION=${GITHUB_REF#refs/tags/}
echo ::set-output name=version::${VERSION}
- name: Pubish
uses: sitkoru/nuget-release-action@v1
with:
version: ${{ steps.prep.outputs.version }}
project_path: src/PROJECT/PROJECT.csproj
nuget_host: ${{ secrets.NUGET_HOST }}
nuget_token: ${{ secrets.BOT_TOKEN }}
```