Update GitHub Action Versions (#221) #270
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 Package | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- name: Set up dotnet | |
uses: actions/[email protected] | |
with: | |
dotnet-version: 8.0.x | |
- name: Pack | |
run: | | |
cd tools/sdk/Notifo.SDK && dotnet pack -c Release | |
- name: Publish | |
run: | | |
cd tools/sdk/Notifo.SDK && dotnet nuget push **/*.nupkg --source 'https://api.nuget.org/v3/index.json' --skip-duplicate -k ${{ secrets.NUGET }} |