bump nuget version #62
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: ASP.NET Core CI | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Setup .NET Core | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: 7.0.203 | |
- name: Build with dotnet | |
run: | | |
dotnet build --configuration Release | |
cd IronBlock.Tests | |
dotnet test | |
- name: Publish | |
run: | | |
! dotnet nuget push **/*.nupkg --source 'https://api.nuget.org/v3/index.json' -k ${{ secrets.nuget }} | |
if: github.ref == 'refs/heads/master' |