mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-07-09 03:04:20 -04:00
Adding a nuget auto-pusher.
This commit is contained in:
parent
4c79514e05
commit
6367f20779
22
.github/workflows/common.yml
vendored
Normal file
22
.github/workflows/common.yml
vendored
Normal file
@ -0,0 +1,22 @@
|
||||
name: Publish to nuget
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- 'v*'
|
||||
|
||||
jobs:
|
||||
publish:
|
||||
name: build, pack & publish
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
# Publish
|
||||
- name: publish on version change
|
||||
id: publish_nuget
|
||||
uses: rohith/publish-nuget@v2
|
||||
with:
|
||||
PROJECT_FILE_PATH: Kyoo.Common/Kyoo.Common.csproj
|
||||
PACKAGE_NAME: Kyoo.Common
|
||||
NUGET_KEY: ${{secrets.NUGET_API_KEY}}
|
||||
INCLUDE_SYMBOLS: true
|
Loading…
x
Reference in New Issue
Block a user