v13.0.0 - Bring more bits from client projects #110
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: .NET | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- name: Setup .NET 7.0 | |
uses: actions/[email protected] | |
with: | |
dotnet-version: 7.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: Pack nuget | |
run: dotnet pack -o `pwd`/.nugets --configuration Release --no-build -v:m | |
- name: Push nuget | |
run: dotnet nuget push `pwd`/.nugets/*.nupkg -s https://nuget.pkg.github.com/interlockledger/index.json --skip-duplicate |