fix(ci): gh output on powershell and wildcard deleting older cached versions (#583)

This commit is contained in:
GeopJr 2022-11-12 19:52:26 +02:00 committed by GitHub
parent 46d4867df1
commit 4d2667f140
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 5 deletions

View File

@ -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/

View File

@ -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