Skip to content

Commit

Permalink
Update dotnet-desktop.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
i-am-shodan committed Jun 29, 2023
1 parent 2d73975 commit de81168
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/dotnet-desktop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ jobs:
- name: Get current date
id: date
run: echo "::set-output name=date::$(date +'%Y%m%d_%H%M')"
- name: Build runtime required version
run: dotnet build --no-self-contained -c Release src/Seahaven.csproj
#- name: Build runtime required version
# run: dotnet build --no-self-contained -c Release src/Seahaven.csproj
- name: Build monolithic version
run: dotnet publish --self-contained true -p:PublishSingleFile=true -p:PublishedTrimmed=true -p:PublishReadyToRun=true -p:Configuration=Release -p:IncludeAllContentForSelfExtract=true -p:PublishReadyToRunShowWarnings=true src/Seahaven.csproj
run: dotnet publish --self-contained true -p:Platform="Any CPU" -p:PublishSingleFile=true -p:PublishedTrimmed=true -p:PublishReadyToRun=true -p:Configuration=Release -p:IncludeAllContentForSelfExtract=true -p:PublishReadyToRunShowWarnings=true src/Seahaven.csproj
- name: Zip artifact for monolithic deployment
run: zip --junk-paths seahaven-no-dotnet-runtime.zip ./src/Seahaven/bin/Release/net6.0/Any CPU/publish/* -r
- name: Create Release
Expand Down

0 comments on commit de81168

Please sign in to comment.