Skip to content

Commit ac0293f

Browse files
author
pitzzahh
committed
chore: fix workflow file
1 parent 676bb1a commit ac0293f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/deploy-cinewave.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ jobs:
2323
run: dotnet restore ${{ env.PROJECT_PATH }}
2424

2525
- name: Build and publish the project
26-
run: dotnet publish ${{ env.PROJECT_PATH }} -c Release --self-contained -r win-x64 -p:PublishSingleFile=true
27-
26+
run: dotnet publish ${{ env.PROJECT_PATH }} -c Release --self-contained -r win-x64 -p:PublishSingleFile=true -p:EnableCompressionInSingleFile=true -p:PublishReadyToRun=true -p:IncludeNativeLibrariesForSelfExtract=true -p:DeleteExistingFiles=true
27+
2828
- name: Deploy artifacts
2929
uses: actions/upload-artifact@v2
3030
with:
@@ -47,6 +47,6 @@ jobs:
4747
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4848
with:
4949
upload_url: ${{ steps.create_release.outputs.upload_url }}
50-
asset_path: ${{ github.workspace }}/CineWave/bin/Release/net6.0-windows/win-x64/publish/CineWave.exe
50+
asset_path: CineWave/bin/Release/net6.0-windows/win-x64/publish/CineWave.exe
5151
asset_name: CineWave.exe
52-
asset_content_type: application/octet-stream
52+
asset_content_type: application/octet-stream

0 commit comments

Comments
 (0)