diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 94fc69c..8048fe1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,7 +22,7 @@ jobs: run: mvn -B versions:set --file ./pom.xml -DnewVersion=${GITHUB_REF##*/} - name: Build and Test id: buildAndTest - run: ${{ '"C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\Tools\Launch-VsDevShell.ps1" && mvn -B clean test' }} + run: mvn -B clean test -DdevShellPath="C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\Tools\Launch-VsDevShell.ps1" shell: pwsh - name: Codesign DLL on release if: startsWith(github.ref, 'refs/tags/')