From f9d2dc8092441f92e34813ea3a37092f0593dfad Mon Sep 17 00:00:00 2001 From: Armin Schrenk Date: Fri, 15 Nov 2024 18:49:22 +0100 Subject: [PATCH] directly call developer powershell --- .github/workflows/build.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 937ce05..394fa1d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -23,7 +23,8 @@ jobs: - uses: ilammy/msvc-dev-cmd@v1 - name: Build and Test id: buildAndTest - run: mvn -B clean test + run: C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\Tools\Launch-VsDevShell.ps1 && mvn -B clean test + shell: pwsh - name: Codesign DLL on release if: startsWith(github.ref, 'refs/tags/') uses: skymatic/code-sign-action@v3