Changed settings handling to be injected as options. #13
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
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: windows-latest | |
permissions: | |
packages: write | |
repository-projects: read | |
contents: read | |
name: Update NuGet | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@master | |
# - name: Setup dotnet | |
# uses: actions/setup-dotnet@v2 | |
# with: | |
# dotnet-version: '8.0.100' | |
- name: Build solution and generate NuGet package | |
run: | | |
dotnet build -c Release | |
- name: Publish Nuget to GitHub registry | |
run: | | |
dotnet nuget push **/*.nupkg --source https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json --api-key ${{ secrets.GITHUB_TOKEN }} --skip-duplicate --no-symbols |