Update README.md with support portal link #19
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: Publish | |
on: | |
push: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: windows-2019 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup MS Build | |
uses: microsoft/[email protected] | |
- name: Restore dependencies | |
run: nuget restore pusher-dotnet-client.sln | |
- name: Write code signing key | |
env: | |
CI_CODE_SIGN_KEY: ${{ secrets.CI_CODE_SIGN_KEY }} | |
run: | | |
./StrongName/WritePusherKey.ps1 | |
- name: Build | |
run: msbuild /p:SignAssembly=true /p:deterministic=true /p:msbuildArchitecture=x64 /p:configuration=Release pusher-dotnet-client.sln | |
- name: Pack | |
run: msbuild /t:Pack /p:SignAssembly=true /p:configuration=release PusherClient/PusherClient.csproj | |
- name: Publish | |
run: nuget push PusherClient\bin\release\PusherClient.*.nupkg -NonInteractive -Source https://api.nuget.org/v3/index.json -SkipDuplicate -ApiKey ${{ secrets.NUGET_API_KEY }} |