Skip to content

Upgrade to .NET 8

Upgrade to .NET 8 #16

Workflow file for this run

name: NuGet
on:
push:
tags:
- '*'
jobs:
Publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.ref }}
- uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.x
- name: Run tests
run: dotnet test
- name: Package
run: dotnet pack -c Release -p:ContinuousIntegrationBuild=true
- name: Publish Core
run: dotnet nuget push SrcSet.Core/bin/Release/SrcSet.Core.$(echo ${{ github.ref }} | sed 's/refs\/tags\///').nupkg -k ${{ secrets.NUGET_TOKEN }} -s https://api.nuget.org/v3/index.json
- name: Publish App
run: dotnet nuget push SrcSet/bin/Release/SrcSet.$(echo ${{ github.ref }} | sed 's/refs\/tags\///').nupkg -k ${{ secrets.NUGET_TOKEN }} -s https://api.nuget.org/v3/index.json
- name: Publish Statiq
run: dotnet nuget push SrcSet.Statiq/bin/Release/SrcSet.Statiq.$(echo ${{ github.ref }} | sed 's/refs\/tags\///').nupkg -k ${{ secrets.NUGET_TOKEN }} -s https://api.nuget.org/v3/index.json