bump version #11
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: NotifyIcon Library | |
on: | |
release: | |
types: [created] | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v2 | |
with: | |
dotnet-version: 8.0.x | |
- name: Setup Windows SDK | |
uses: GuillaumeFalourd/setup-windows10-sdk-action@v1.5 | |
- name: Install dependencies | |
run: dotnet restore NotifyIcon | |
- name: Build | |
run: dotnet build NotifyIcon --configuration Release --no-restore | |
- name: Pack | |
run: dotnet pack NotifyIcon\NotifyIcon.csproj -c Release --no-build -o out | |
- name: Push NuGet package | |
# run: dotnet nuget push "out\*.nupkg" -k ${{secrets.NUGET_AUTH_TOKEN}} --source https://api.nuget.org/v3/index.json | |
uses: actions/upload-artifact@v3 | |
with: | |
name: nuget-packages | |
path: out/*.nupkg |