Skip to content

classic loop adjust revert #23

classic loop adjust revert

classic loop adjust revert #23

Workflow file for this run

name: Build and Publish NuGet Package
on:
push:
branches:
- main
jobs:
publish:
runs-on: windows-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v2
- name: Setup MSBuild
uses: microsoft/setup-msbuild@v2
- name: Restore NuGet Packages
run: nuget restore src\UnlockerIsland\UnlockerIsland.sln
- name: Build
run: msbuild src\UnlockerIsland\UnlockerIsland.sln /p:Configuration=Release
- name: Pack
run: nuget pack src\UnlockerIsland\Snap.Hutao.UnlockerIsland\Snap.Hutao.UnlockerIsland.nuspec
- name: Publish to NuGet
run: nuget push *.nupkg ${{ secrets.NUGET_API_KEY }} -src https://api.nuget.org/v3/index.json