Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 59de183

Browse files
Use Get-ChildItem instead of a hardcoded path for php_relay.dll
1 parent ac05714 commit 59de183

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -148,12 +148,7 @@ jobs:
148148
run: |
149149
md binaries
150150
copy LICENSE binaries
151-
if (Test-Path "x64\Release") {
152-
Set-Variable -Name "prefix" -Value "x64\Release"
153-
} else {
154-
Set-Variable -Name "prefix" -Value "x64\Release_TS"
155-
}
156-
copy $prefix\php_redis.dll binaries
151+
Get-ChildItem -Recurse -Filter "php_redis.dll" | ForEach-Object {Copy-Item -Path $_.FullName -Destination "binaries"}
157152
- name: Upload artifacts
158153
uses: actions/upload-artifact@v2
159154
with:

0 commit comments

Comments
 (0)