Skip to content

Update dotnetcore.yml #86

Update dotnetcore.yml

Update dotnetcore.yml #86

Workflow file for this run

name: .NET
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Setup .NET 8.0
uses: actions/[email protected]
with:
dotnet-version: 8.0.100
- name: Setup nuget config
run: sed 's/GITHUB_TOKEN/${{ secrets.REGISTRY_TOKEN }}/g' .nuget.config > nuget.config
- name: Test with dotnet
run: dotnet test --configuration Release -v:m | grep -v 'NAME_UNKNOWN:Package'
- name: Push nuget
run: dotnet nuget push `pwd`/InterlockLedger.Rest.Client/bin/Release/InterlockLedger.Rest.Client.*.nupkg -s https://nuget.pkg.github.com/interlockledger/index.json --skip-duplicate