Skip to content

Changed version.

Changed version. #8

Workflow file for this run

on:
push:
branches:
- master
jobs:
build:
runs-on: windows-latest
permissions:
packages: write
repository-projects: read
contents: read
name: Update NuGet
steps:
- name: Checkout repository
uses: actions/checkout@master
- name: Setup dotnet
uses: actions/setup-dotnet@v2
with:
dotnet-version: '8.0.100-preview.7.23376.3'
- name: Build solution and generate NuGet package
run: |
dotnet build -c Release
- name: Publish Nuget to GitHub registry
run: |
dotnet nuget push **/*.nupkg --source https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json --api-key ${{ secrets.GITHUB_TOKEN }} --skip-duplicate --no-symbols