[servicing] Nitrocid KS v0.0.24.16: Where's My Forecast? #165
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: NuGet Gallery Push | |
on: | |
release: | |
types: [published] | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
ref: ${{ github.ref }} | |
- name: NuGet Installation | |
uses: nuget/setup-nuget@v1 | |
with: | |
nuget-version: "latest" | |
- name: MSBuild Installation | |
uses: microsoft/setup-msbuild@v1.3 | |
- name: Dependency Restoration | |
run: msbuild "Kernel Simulator.sln" -t:restore -p:Configuration=Release | |
- name: Solution Compilation | |
run: msbuild "Kernel Simulator.sln" -p:Configuration=Release | |
- name: NuGet Preparation | |
run: nuget setApiKey ${{ secrets.NUGET_APIKEY }} | |
- name: Package Publication | |
run: | | |
$path = "Kernel Simulator\KSBuild" | |
$FileName = Get-ChildItem -Path $path -Recurse -Name -Filter "*symbols*" | |
nuget push "$path\$FileName" -source "nuget.org" | |