Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
echokrist authored Jan 12, 2025
1 parent 53df80c commit 4f4fdb1
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,12 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: '9.0.x' # Update as needed

# Restore dependencies
- name: Restore dependencies
run: dotnet restore
dotnet-version: '9.0.101'

# Publish the application
- name: Publish for ${{ matrix.os }}
run: dotnet publish -c Release -r ${{ matrix.os }} \
run: |
dotnet publish ./src/DCEUI.sln -c Release -r ${{ matrix.os }} \
/p:PublishSingleFile=true \
/p:IncludeNativeLibrariesForSelfExtract=false \
/p:PublishTrimmed=true \
Expand All @@ -41,7 +38,7 @@ jobs:
- name: Zip binaries
run: |
mkdir -p artifacts
zip -r artifacts/binary-${{ matrix.os }}.zip **/bin/Release/net*/${{ matrix.os }}/publish/*
zip -r artifacts/binary-${{ matrix.os }}.zip ./src/**/bin/Release/net*/${{ matrix.os }}/publish/*
# Upload binaries to the GitHub Release
- name: Upload binaries to GitHub Release
Expand Down

0 comments on commit 4f4fdb1

Please sign in to comment.