diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index f5abce4..cc7ffc9 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -20,8 +20,8 @@ jobs: run: | export OS="linux" source ./ci/setup-env.sh - ./ci/test.sh - ./ci/build.sh + source ./ci/test.sh + source ./ci/build.sh shell: bash - name: Upload Artifact uses: actions/upload-artifact@v3 @@ -44,8 +44,8 @@ jobs: run: | export OS="mac" source ./ci/setup-env.sh - ./ci/test.sh - ./ci/build.sh + source ./ci/test.sh + source ./ci/build.sh shell: bash - name: Upload Artifact uses: actions/upload-artifact@v3 @@ -68,8 +68,8 @@ jobs: run: | export OS="win" source ./ci/setup-env.sh - ./ci/test.sh - ./ci/build.sh + source ./ci/test.sh + source ./ci/build.sh shell: bash - name: Upload Artifact uses: actions/upload-artifact@v3 diff --git a/ci/build.sh b/ci/build.sh index d788224..93ee789 100755 --- a/ci/build.sh +++ b/ci/build.sh @@ -50,3 +50,5 @@ if [ "$OS" = "win" ]; then cp "$ROOT/Builds/VisualStudio2022/x64/Release/Standalone Plugin/$PLUGIN.exe" "$ROOT/bin" cp -r "$ROOT/Builds/VisualStudio2022/x64/Release/VST3/$PLUGIN.vst3/Contents/x86_64-win/$PLUGIN.vst3" "$ROOT/bin" fi + +cd "$ROOT" diff --git a/ci/test.sh b/ci/test.sh index 9bab5ad..88a70a4 100755 --- a/ci/test.sh +++ b/ci/test.sh @@ -39,3 +39,5 @@ if [ "$OS" = "win" ]; then # Run the test using the .exe file ./$PLUGIN.exe fi + +cd "$ROOT"