Skip to content

Update nuget/setup-nuget action to v4 #26

Update nuget/setup-nuget action to v4

Update nuget/setup-nuget action to v4 #26

Workflow file for this run

name: build plugin
on:
- push
- pull_request
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
name: checkout main repository
- uses: actions/checkout@v2
name: checkout dependency DLLs
with:
ssh-key: '${{ secrets.DLLSSH }}'
repository: hssb-racers/dlls
path: DLLs
- name: Add msbuild to PATH
uses: microsoft/setup-msbuild@v1.0.2
- uses: nuget/setup-nuget@v4
- run: nuget restore
- name: Build
run: msbuild
- name: Push DLL to Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/v')
with:
files: |
obj/Debug/TemplatePatch.dll
env:
GITHUB_TOKEN: ${{ github.token }}
- name: Push DLL to workflow artifacts
uses: actions/upload-artifact@v2
with:
path: obj/Debug/TemplatePatch.dll