Skip to content

enh: SCP-076-2 rebalanced in #35 #20

enh: SCP-076-2 rebalanced in #35

enh: SCP-076-2 rebalanced in #35 #20

Workflow file for this run

name: Build for commit
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: windows-latest
if: ${{ !contains(github.event.head_commit.message, '#no-code') }}
steps:
- uses: actions/checkout@v2
- name: Setup Nuget
uses: iRebbok/setup-nuget@master
- name: Restore Packages
run: nuget restore VeryUsualDay.sln
- name: Setup MSBuild
uses: microsoft/setup-msbuild@v1
- name: Get references
shell: pwsh
run: |
Invoke-WebRequest -Uri https://misaka-zerotwo.github.io/SL-References/Master.zip -OutFile ${{ github.workspace }}/References.zip
Expand-Archive -Path References.zip -DestinationPath ${{ github.workspace }}\lib
- name: Build
run: msbuild VeryUsualDay.sln -p:Configuration=release
env:
EXILED_REFERENCES: ${{ github.workspace }}\lib
- name: Upload Build
uses: actions/upload-artifact@v2
with:
name: Plugin DLL
path: ${{ github.workspace }}\bin\Release\VeryUsualDay.dll