mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2024-12-23 04:27:25 +08:00
feat(ci): error on warnings (#199)
* feat(ci): error on warnings * fix(ci): autolocker pull_request -> pull_request_target
This commit is contained in:
parent
302243038f
commit
da60758e40
2
.github/workflows/autolocker.yml
vendored
2
.github/workflows/autolocker.yml
vendored
@ -1,7 +1,7 @@
|
||||
name: Autolocker
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
pull_request_target:
|
||||
types: [closed]
|
||||
|
||||
permissions: write-all
|
||||
|
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -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}
|
||||
|
2
.github/workflows/nightly.yml
vendored
2
.github/workflows/nightly.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user