Refactor Nuke script paths and update GitHub Actions

Simplify the Nuke directory structure by moving scripts to the root level. Adjust the GitHub Actions workflow to reflect the new script path. This improves script accessibility and project organization.
This commit is contained in:
Sipke Schoorstra 2024-09-15 17:17:27 -07:00
parent 28f171e472
commit 6b9079d61c
2 changed files with 3 additions and 3 deletions

View file

@ -79,7 +79,7 @@ jobs:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: dotnet sonarscanner begin /k:"elsa-workflows_elsa-core" /o:"elsa-workflows" /d:sonar.host.url="https://sonarcloud.io" /d:sonar.token="${{ secrets.SONAR_TOKEN }}" /d:sonar.exclusions=**/obj/**,**/*.dll,build/**,samples/**,src/apps/** /d:"sonar.verbose=true" /d:sonar.cs.opencover.reportsPaths=**/testresults/**/coverage.opencover.xml
- name: Compile+Test+Pack
run: ./scripts/nuke/build.sh Compile+Test+Pack --version ${VERSION} --analyseCode true
run: ./build.sh Compile+Test+Pack --version ${VERSION} --analyseCode true
- name: End SonarCloud analysis
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

View file

@ -5,8 +5,8 @@
<TargetFramework>net8.0</TargetFramework>
<RootNamespace/>
<NoWarn>CS0649;CS0169;CA1050;CA1822;CA2211;IDE1006</NoWarn>
<NukeRootDirectory>../scripts/nuke</NukeRootDirectory>
<NukeScriptDirectory>../scripts/nuke</NukeScriptDirectory>
<NukeRootDirectory>..</NukeRootDirectory>
<NukeScriptDirectory>..</NukeScriptDirectory>
<NukeTelemetryVersion>1</NukeTelemetryVersion>
<NukeExcludeLogs>true</NukeExcludeLogs>
<NukeExcludeDirectoryBuild>true</NukeExcludeDirectoryBuild>