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 e69927bacc
commit 5158cf013f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

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

View File

@ -25,7 +25,7 @@ jobs:
- name: Build 64bit release DLL - name: Build 64bit release DLL
run: | 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 - name: Check if DLL got built
run: if (-Not (Test-Path -path "bin/Release/BigBaseV2.dll")) {throw 1} run: if (-Not (Test-Path -path "bin/Release/BigBaseV2.dll")) {throw 1}

View File

@ -48,7 +48,7 @@ jobs:
- name: Build 64bit release DLL - name: Build 64bit release DLL
run: | 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 - name: Rename DLL to YimMenu.dll
run: ren BigBaseV2.dll YimMenu.dll run: ren BigBaseV2.dll YimMenu.dll