v2.10.0 #48
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish on NuGet | |
on: | |
push: | |
branches: [ master ] | |
jobs: | |
publish: | |
name: Build and publish package | |
runs-on: ubuntu-latest | |
environment: | |
name: nuget | |
url: https://github.com | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
token: ${{ secrets.PAT }} | |
- name: Build and publish package if version changed | |
uses: alirezanet/[email protected] | |
with: | |
PROJECT_FILE_PATH: Netezos/Netezos.csproj | |
PACKAGE_NAME: Netezos | |
NUGET_KEY: ${{ secrets.NUGET_KEY }} |