Bump to latest dependencies. Remove iPQ projects. #46
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: Build, Test, Publish to Nuget | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
name: Build, test, pack & publish | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: 6.0.x | |
- name: Restore dependencies | |
run: dotnet restore | |
- name: Build | |
run: dotnet build --no-restore | |
- name: Test | |
run: dotnet test --no-build --verbosity normal | |
- name: Build | |
run: dotnet build --no-restore -c Release ./Wororo.Utilities/Wororo.Utilities.csproj | |
- name: Pack | |
run: dotnet pack --no-build -c Release ./Wororo.Utilities/Wororo.Utilities.csproj -o . | |
- name: Push Nuget | |
run: dotnet nuget push *.nupkg -s https://api.nuget.org/v3/index.json -k ${{ SECRETS.NUGET_API_KEY }} --skip-duplicate -n 1 | |