diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 5468cf1..bd4400d 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -106,7 +106,7 @@ jobs: - run: | echo "Run, Build Application using script" - ./././scripts/buildscript.ps1 + ./././scripts/buildscript.sh - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@v2 diff --git a/scripts/buildscript.ps1 b/scripts/buildscript.ps1 index 321810a..4257ee4 100644 --- a/scripts/buildscript.ps1 +++ b/scripts/buildscript.ps1 @@ -1,4 +1,4 @@ #$currentFolder = $MyInvocation.MyCommand.Path | Split-Path -Parent; #$currentFolder = (Get-Location).Path #echo $currentFolder -dotnet build ../../src/Webserver.API/Webserver.API.csproj \ No newline at end of file +dotnet build ../src/Webserver.API/Webserver.API.csproj \ No newline at end of file diff --git a/scripts/buildscript.sh b/scripts/buildscript.sh index c611842..0511e62 100644 --- a/scripts/buildscript.sh +++ b/scripts/buildscript.sh @@ -1,3 +1 @@ -$currentFolder = (Get-Location).Path -echo $currentFolder dotnet build ../src/Webserver.API/Webserver.API.csproj \ No newline at end of file