Skip to content

Commit f54b302

Browse files
committed
Update dotnet-desktop.yml
1 parent 4907b86 commit f54b302

1 file changed

Lines changed: 4 additions & 7 deletions

File tree

.github/workflows/dotnet-desktop.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,10 @@ permissions:
1111
packages: write
1212

1313
env:
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

2019
jobs:
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 }}

0 commit comments

Comments
 (0)