Skip to content

pack license and readme #8

pack license and readme

pack license and readme #8

Workflow file for this run

# This workflow will build a .NET project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net
name: .NET
on:
push:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: setup .net
uses: actions/setup-dotnet@v3.2.0
- uses: actions/checkout@v3
- name: pack
run: dotnet pack ./RazorStyle/RazorStyle.csproj -c Release -o . -p:PackageVersion=1.${{github.run_number}}
- name: publish
run: dotnet nuget push *.nupkg --api-key ${{secrets.NUGET_KEY}} -s nuget.org