chore: bump version #8
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: nuget | |
on: | |
push: | |
paths: | |
- src/** | |
- test/** | |
- Okkema.sln | |
- .github/workflows/nuget.yaml | |
concurrency: nuget | |
jobs: | |
nuget: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Setup dotnet | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: 8.x | |
source-url: https://nuget.pkg.github.com/okkema/index.json | |
env: | |
NUGET_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}} | |
- name: Build solution | |
run: dotnet build --configuration Release | |
- name: Test solution | |
run: dotnet test --configuration Release --no-build | |
- name: Package release | |
run: dotnet pack --configuration Release --no-build | |
- name: Publish release | |
run: dotnet nuget push **/bin/Release/*.nupkg --skip-duplicate | |