Skip to content

Commit

Permalink
Build and Publish
Browse files Browse the repository at this point in the history
  • Loading branch information
NLick47 committed Jan 29, 2025
1 parent 8c2960e commit f26b29a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: windows-latest
strategy:
matrix:
cpu: [ x64, x86 ]
cpu: [ x64 ]
kind: [ 7z ]
steps:
- name: Checkout
Expand All @@ -28,7 +28,7 @@ jobs:
Add-Content -Path $env:GITHUB_ENV -Value "APP_VERSION=$appVersion"
- name: Build and Publish
run: |
dotnet publish -c Release -r win-${{ matrix.cpu }} --self-contained true -p:PublishSingleFile=true -p:PublishTrimmed=true -o ./output/${{ matrix.cpu }}
dotnet publish -c Release -r win-${{ matrix.cpu }} --self-contained true -p:PublishSingleFile=true -o ./output/${{ matrix.cpu }}
- name: Compress build artifacts
run: |
Compress-Archive -Path ./output/${{ matrix.cpu }}/* -DestinationPath ./output/Taix-${{ env.APP_VERSION }}-win-${{ matrix.cpu }}.${{ matrix.kind }}
Expand Down

0 comments on commit f26b29a

Please sign in to comment.