From 038f54ae18487e2421e4b85048db053596281ce2 Mon Sep 17 00:00:00 2001 From: itsmattkc Date: Mon, 21 Sep 2020 05:28:41 +1000 Subject: [PATCH] ci: use cygpath to retrieve path from env --- .github/workflows/ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fee0103e2..bf790662a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -141,8 +141,8 @@ jobs: cp app/olive-editor.exe olive-editor cp app/olive-editor.pdb olive-editor windeployqt olive-editor/olive-editor.exe - cp ../bin/*.dll olive-editor - cp ../out/Default/crashpad_handler.exe olive-editor + cp $(cygpath $GITHUB_WORKSPACE)/bin/*.dll olive-editor + cp $(cygpath $GITHUB_WORKSPACE)/out/Default/crashpad_handler.exe olive-editor elif [ "$MATRIX_OS" == "macos-latest " ] then export BUNDLE_NAME=Olive.app @@ -162,8 +162,8 @@ jobs: then # Create Installer Executable curl -fLOSs https://download.microsoft.com/download/3/2/2/3224B87F-CFA0-4E70-BDA3-3DE650EFEBA5/vcredist_x64.exe - cp ../app/packaging/windows/nsis/* . - cp ../LICENSE . + cp $(cygpath $GITHUB_WORKSPACE)/app/packaging/windows/nsis/* . + cp $(cygpath $GITHUB_WORKSPACE)/LICENSE . makensis -V4 -DX64 "-XOutFile $PKGNAME.exe" olive.nsi # Create Portable ZIP