Skip to content

Commit

Permalink
publish as selfcontained
Browse files Browse the repository at this point in the history
  • Loading branch information
ilGianfri authored Nov 23, 2024
1 parent f672997 commit 0a013d9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
working-directory: src

- name: Publish win-x64
run: dotnet publish TwitterSky\TwitterSky.csproj --configuration Release -r win-x64 --no-restore --output ./win-x64 /p:Version=${{ steps.remove_v.outputs.next_tag }}
run: dotnet publish TwitterSky\TwitterSky.csproj --configuration Release -r win-x64 --no-restore --self-contained --output ./win-x64 /p:Version=${{ steps.remove_v.outputs.next_tag }}
working-directory: src

- name: Create release directory
Expand All @@ -72,7 +72,7 @@ jobs:
run: Compress-Archive -Path src\win-x64\* -DestinationPath src/release/TwitterSky_win-x64_${{ steps.compute_tag.outputs.next_tag }}.zip

- name: Publish arm-x64
run: dotnet publish TwitterSky\TwitterSky.csproj --configuration Release -r win-arm64 --no-restore --output ./win-arm64
run: dotnet publish TwitterSky\TwitterSky.csproj --configuration Release -r win-arm64 --no-restore --self-contained --output ./win-arm64 /p:Version=${{ steps.remove_v.outputs.next_tag }}
working-directory: src

- name: Create Release Packages zip
Expand All @@ -88,4 +88,4 @@ jobs:
name: TwitterSky ${{ steps.compute_tag.outputs.next_tag }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}


0 comments on commit 0a013d9

Please sign in to comment.