Skip to content

Commit 670755e

Browse files
author
OpenIPC Dashboard
committed
ci: Add GitHub Actions workflow for build and release
1 parent d032986 commit 670755e

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

.github/workflows/release.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -188,12 +188,14 @@ jobs:
188188
exit 1
189189
}
190190
191-
# Copy Plugins
192-
$gstPlugins = "C:\gstreamer\1.0\mingw_x86_64\lib\gstreamer-1.0"
193-
if (Test-Path $gstPlugins) {
191+
# Copy Plugins
192+
$gstPlugins = Join-Path $gstRoot "lib\gstreamer-1.0"
193+
if (Test-Path $gstPlugins) {
194194
New-Item -ItemType Directory -Path dist/lib/gstreamer-1.0 -Force
195195
Copy-Item "$gstPlugins\*.dll" -Destination dist/lib/gstreamer-1.0 -Force
196-
}
196+
} else {
197+
New-Item -ItemType Directory -Path dist/lib/gstreamer-1.0 -Force
198+
}
197199
# Copy Scanner (Check libexec)
198200
$gstLibexec = Join-Path $gstRoot "libexec\gstreamer-1.0"
199201
$scannerCandidates = @(

0 commit comments

Comments
 (0)