Skip to content

[servicing] Nitrocid KS v0.0.24.20: More Hardware! #169

[servicing] Nitrocid KS v0.0.24.20: More Hardware!

[servicing] Nitrocid KS v0.0.24.20: More Hardware! #169

Workflow file for this run

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"