Skip to content

privacy data update #186

privacy data update

privacy data update #186

Workflow file for this run

name: Package Build and Publish to NuGet
permissions:
contents: write
pages: write
id-token: write
on:
push:
branches:
- main
paths:
- "Directory.Build.props"
jobs:
build-CsProj:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET 7
uses: actions/setup-dotnet@v1
with:
dotnet-version: "7.0"
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore -c Release
- name: Pack Project DLL
run: dotnet pack -c Release -o nupkgs
- name: Upload Artifacts
uses: actions/upload-artifact@v2
with:
name: nupkgs
path: nupkgs/*
publish-nuget:
needs: build-CsProj
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Download Artifacts
uses: actions/download-artifact@v2
with:
name: nupkgs
path: nupkgs
- name: Publish to NuGet
run: dotnet nuget push "nupkgs/*" --api-key ${{secrets.NUGET_API_KEY}} --source https://api.nuget.org/v3/index.json