fix: readme and dockerfile fix. #15
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: Milvasoft.Templates Nuget Publish | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: 9.0.x | |
- name: Restore Milvasoft.Templates project dependencies | |
run: dotnet restore Milvasoft.Templates.csproj | |
- name: Build Milvasoft.Templates project | |
run: dotnet build Milvasoft.Templates.csproj --no-restore --configuration Release | |
- name: Publish package to NuGet | |
run: dotnet nuget push *.nupkg --api-key ${{secrets.NUGET_API_KEY}} --source "https://api.nuget.org/v3/index.json" --skip-duplicate |