Bump the microsoft group with 10 updates #341
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: .NET | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: 8.x | |
- name: Pack | |
run: dotnet pack VladislavAntonyukDotnetTemplates.csproj -p:PackageVersion="3.0.${{github.run_number}}" | |
- name: Publish NuGet | |
run: dotnet nuget push **/bin/Release/*.nupkg -k $NUGET_AUTH_TOKEN -s https://api.nuget.org/v3/index.json | |
if: github.ref == 'refs/heads/main' | |
env: | |
NUGET_AUTH_TOKEN: ${{ secrets.NUGET_API_KEY }} |