Skip to content

Merge pull request #47 from w-ahmad/nullabe_refTypes #14

Merge pull request #47 from w-ahmad/nullabe_refTypes

Merge pull request #47 from w-ahmad/nullabe_refTypes #14

Workflow file for this run

name: cd-build
on:
push:
tags:
- 'v*'
jobs:
build:
runs-on: windows-2022
steps:
- name: Checkout
uses: actions/[email protected]
- name: Setup MSBuild.exe
uses: microsoft/setup-msbuild@v2
- name: 'Get Version'
id: version
uses: battila7/[email protected]
- name: Build
run: |
msbuild /restore /t:Build,Pack src/WinUI.TableView/WinUI.TableView.csproj /p:Configuration=Release /p:PackageVersion=${{ steps.version.outputs.version-without-v }}
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: NuGet Packages
path: artifacts/NuGet/Release
- name: Push to NuGet
run: |
dotnet nuget push artifacts\NuGet\Release\*.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://nuget.org
dotnet nuget push artifacts\NuGet\Release\*.snupkg -k ${{ secrets.NUGET_API_KEY }} -s https://nuget.org