diff --git a/.github/workflows/dotnet-desktop.yml b/.github/workflows/dotnet-desktop.yml index a448712..b135af5 100644 --- a/.github/workflows/dotnet-desktop.yml +++ b/.github/workflows/dotnet-desktop.yml @@ -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