Skip to content

Use NuGet Trusted Publishing #229

Use NuGet Trusted Publishing

Use NuGet Trusted Publishing #229

Workflow file for this run

name: ci
on:
push:
paths-ignore:
- 'site/**'
- 'img/**'
- 'readme.md'
pull_request:
jobs:
build:
permissions:
id-token: write
actions: write
contents: write
runs-on: 'ubuntu-latest'
steps:
- name: NuGet Login
uses: NuGet/login@v1
id: nuget-login
with:
user: xoofx
- name: "Build, Test, Pack and Publish"
uses: xoofx/.github/.github/actions/dotnet-releaser-action@main
with:
NUGET_TOKEN: ${{ steps.nuget-login.outputs.NUGET_API_KEY }}