Skip to content

0.0.9

0.0.9 #11

Workflow file for this run

name: release
on:
release:
types: [released]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup .NET SDK
uses: actions/setup-dotnet@v3
- run: dotnet build -c Release src/Scaffolding.sln
- name: Create the Scaffolding package
run: dotnet pack -c Release --no-build -p:Version=${{github.ref_name}} -o src/Scaffolding/bin/Release src/Scaffolding/Scaffolding.csproj
- name: Publish the Scaffolding package
run: dotnet nuget push src/Scaffolding/bin/Release/*.nupkg --api-key ${{secrets.NUGET_API_KEY}} --source https://api.nuget.org/v3/index.json