feat(ci): error on warnings (#199)

* feat(ci): error on warnings
* fix(ci): autolocker pull_request -> pull_request_target
This commit is contained in:
GeopJr 2022-05-11 18:40:26 +03:00 committed by GitHub
parent 302243038f
commit da60758e40
3 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
name: Autolocker
on:
pull_request:
pull_request_target:
types: [closed]
permissions: write-all

View File

@ -25,7 +25,7 @@ jobs:
- name: Build 64bit release DLL
run: |
msbuild /p:Configuration=Release /p:Platform=x64 BigBaseV2.sln -m
msbuild /p:Configuration=Release /p:Platform=x64 BigBaseV2.sln -m /warnaserror
- name: Check if DLL got built
run: if (-Not (Test-Path -path "bin/Release/BigBaseV2.dll")) {throw 1}

View File

@ -48,7 +48,7 @@ jobs:
- name: Build 64bit release DLL
run: |
msbuild /p:Configuration=Release /p:Platform=x64 BigBaseV2.sln
msbuild /p:Configuration=Release /p:Platform=x64 BigBaseV2.sln /warnaserror
- name: Rename DLL to YimMenu.dll
run: ren BigBaseV2.dll YimMenu.dll