Skip to content

additional template modernizations and updates #14

additional template modernizations and updates

additional template modernizations and updates #14

Workflow file for this run

name: Nuget Pack n Push
on:
push:
tags: "*"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: olegtarasov/[email protected] #populates GIT_TAG_NAME
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.x
- name: Pack
run: dotnet pack -Version ${GIT_TAG_NAME}
- name: Push
run: dotnet nuget push --source https://api.nuget.org/v3/index.json -k ${NUGET_KEY} "**/*.nupkg"
env:
NUGET_KEY: ${{ secrets.NUGET_KEY }}