File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,11 +11,10 @@ permissions:
1111 packages : write
1212
1313env :
14- SOLUTION_PATH : SimpleMapper.sln
15- PACKAGE_PROJECT_PATH : SimpleMapper/SimpleMapper.csproj
14+ SOLUTION_PATH : SimpleMapper/SimpleMapper .sln
15+ PACKAGE_PROJECT_PATH : SimpleMapper/SimpleMapper/SimpleMapper/SimpleMapper .csproj
1616 PACKAGE_OUTPUT_DIRECTORY : ${{ github.workspace }}/output
1717 NUGET_SOURCE_URL : https://api.nuget.org/v3/index.json
18- WORKING_DIRECTORY : .
1918
2019jobs :
2120 build-and-pack :
@@ -32,12 +31,10 @@ jobs:
3231 dotnet-version : 8.0.x
3332
3433 - name : Restore dependencies
35- working-directory : ${{ env.WORKING_DIRECTORY }}
36- run : dotnet restore
34+ run : dotnet restore ${{ env.SOLUTION_PATH }}
3735
3836 - name : Build
39- working-directory : ${{ env.WORKING_DIRECTORY }}
40- run : dotnet build --configuration Release --no-restore
37+ run : dotnet build ${{ env.SOLUTION_PATH }} --configuration Release --no-restore
4138
4239 - name : Create output directory
4340 run : mkdir -p ${{ env.PACKAGE_OUTPUT_DIRECTORY }}
You can’t perform that action at this time.
0 commit comments