Bump System.Data.SqlClient (#22) #24
This file contains hidden or 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 Core deploy | |
| on: | |
| push: | |
| # Sequence of patterns matched against refs/heads | |
| branches: | |
| - master # Push events on master branch | |
| jobs: | |
| build: | |
| runs-on: windows-latest | |
| steps: | |
| - uses: actions/checkout@v1 | |
| - name: Setup .NET Core | |
| uses: actions/setup-dotnet@v1 | |
| with: | |
| dotnet-version: 3.1.100 | |
| - name: Build with dotnet | |
| run: dotnet build --configuration Release | |
| - name: run tests | |
| run: dotnet test | |
| - name: nuget pack | |
| run: dotnet pack --configuration Release | |
| - name: Install Nuget Client | |
| uses: warrenbuckley/Setup-Nuget@v1 | |
| - name: setApiKey | |
| run: nuget setApiKey ${{ secrets.nuget_key }} -s https://api.nuget.org/v3/index.json | |
| - name: Push generated package to GitHub registry | |
| run: nuget push **.nupkg -Source "https://api.nuget.org/v3/index.json" -SkipDuplicate -NoSymbols |