Merge pull request #1086 from andersjonsson/develop #121
Workflow file for this run
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 publish | |
on: | |
push: | |
branches: master | |
tags: | |
- 'v*' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
container: | |
image: docker://mcr.microsoft.com/dotnet/sdk:8.0-alpine | |
steps: | |
- uses: actions/checkout@v1 | |
- name: build and publish | |
run: | | |
dotnet restore src | |
dotnet pack --configuration Release --output nupkg src/SoapCore | |
dotnet nuget push nupkg/*.nupkg --api-key ${{ secrets.NUGET_API }} -s https://api.nuget.org/v3/index.json |