Skip to content

Commit

Permalink
Update dotnet-release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tinohager committed Feb 28, 2024
1 parent f406f9a commit d0e7aa2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/dotnet-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,11 @@ jobs:
run: dotnet restore
- name: Build
working-directory: ./src
run: dotnet build ./src/Nager.WindowsCalendarWeek/Nager.WindowsCalendarWeek.csproj --configuration Release --no-restore /p:NoWarn=1591
run: dotnet build ./Nager.WindowsCalendarWeek/Nager.WindowsCalendarWeek.csproj --configuration Release --no-restore /p:NoWarn=1591
- name: Build project
working-directory: ./src
run: |
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
dotnet publish ./Nager.WindowsCalendarWeek/Nager.WindowsCalendarWeek.csproj --configuration Release --self-contained false --runtime win-x64 -p:PublishReadyToRun=true -p:PublishSingleFile=true --output ./publish/temp
- uses: vimtor/action-zip@v1
with:
files: ./publish/temp
Expand Down

0 comments on commit d0e7aa2

Please sign in to comment.