fix(ci): gh output on powershell and wildcard deleting older cached versions (#583)
This commit is contained in:
parent
46d4867df1
commit
4d2667f140
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@ -33,9 +33,7 @@ jobs:
|
||||
|
||||
- name: Rename DLL to YimMenu-dev-{GITHUB_SHA}.dll
|
||||
run: |
|
||||
if (Test-Path -path "YimMenu-dev-${{github.sha}}.dll") {
|
||||
DEL YimMenu-dev-${{github.sha}}.dll
|
||||
}
|
||||
del YimMenu-dev-*.dll
|
||||
ren YimMenu.dll YimMenu-dev-${{github.sha}}.dll
|
||||
working-directory: build/Release/
|
||||
|
||||
|
4
.github/workflows/nightly.yml
vendored
4
.github/workflows/nightly.yml
vendored
@ -39,8 +39,8 @@ jobs:
|
||||
- name: Generate Build Info
|
||||
id: var
|
||||
run: |
|
||||
echo "full_sha=$(git rev-parse HEAD)" >> $GITHUB_OUTPUT
|
||||
echo "short_sha=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
|
||||
echo "full_sha=$(git rev-parse HEAD)" >> $env:GITHUB_OUTPUT
|
||||
echo "short_sha=$(git rev-parse --short HEAD)" >> $env:GITHUB_OUTPUT
|
||||
|
||||
check_detections:
|
||||
runs-on: ubuntu-latest
|
||||
|
Reference in New Issue
Block a user