Skip to content

fix: update CI dependency url #97

fix: update CI dependency url

fix: update CI dependency url #97

Workflow file for this run

# Based on https://github.com/PintTheDragon/EasyEvents/blob/master/.github/workflows/main.yml
name: Build for fun
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Setup Nuget
uses: iRebbok/setup-nuget@master
- name: Restore Packages
run: nuget restore KillLogs.sln
- name: Setup MSBuild
uses: microsoft/setup-msbuild@v1
- name: Download references
uses: carlosperate/download-file-action@v1.0.3
with:
file-url: 'https://misaka-zerotwo.github.io/SL-References/Master.zip'
file-name: 'References.zip'
- name: Download 7zip
uses: carlosperate/download-file-action@v1.0.3
with:
file-url: 'https://www.exiled.host/7za.exe'
file-name: '7zip.exe'
- name: Extract Refs
run: ./7zip.exe e References.zip -oD:\a\KillLogs\KillLogs\lib\ -r -y
- name: Build
run: msbuild KillLogs.sln -p:Configuration=release
env:
EXILED_REFERENCES: ${{ github.workspace }}\lib
- name: Upload Build
uses: actions/upload-artifact@v2
with:
name: Plugin DLL
path: D:\a\KillLogs\KillLogs\bin\Release\KillLogs.dll