Skip to content

Commit 9dc638a

Browse files
committed
Update dotnet-release.yml
1 parent d0e7aa2 commit 9dc638a

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

.github/workflows/dotnet-release.yml

+4-7
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,13 @@ jobs:
1717
with:
1818
dotnet-version: 8.0.x
1919
- name: Restore dependencies
20-
working-directory: ./src
21-
run: dotnet restore
20+
run: dotnet restore ./src
2221
- name: Build
23-
working-directory: ./src
24-
run: dotnet build ./Nager.WindowsCalendarWeek/Nager.WindowsCalendarWeek.csproj --configuration Release --no-restore /p:NoWarn=1591
22+
run: dotnet build ./src/Nager.WindowsCalendarWeek/Nager.WindowsCalendarWeek.csproj --configuration Release --no-restore /p:NoWarn=1591
2523
- name: Build project
26-
working-directory: ./src
2724
run: |
28-
dotnet publish ./Nager.WindowsCalendarWeek/Nager.WindowsCalendarWeek.csproj --configuration Release --self-contained false --runtime win-x64 -p:PublishReadyToRun=true -p:PublishSingleFile=true --output ./publish/temp
29-
- uses: vimtor/action-zip@v1
25+
dotnet publish ./src/Nager.WindowsCalendarWeek/Nager.WindowsCalendarWeek.csproj --configuration Release --self-contained false --runtime win-x64 -p:PublishReadyToRun=true -p:PublishSingleFile=true --output ./publish/temp
26+
- uses: vimtor/action-zip@v1.2
3027
with:
3128
files: ./publish/temp
3229
dest: ./publish/Nager.WindowsCalendarWeek.zip

0 commit comments

Comments
 (0)