-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build workflow fix and v1.3.1 release
- Loading branch information
Showing
2 changed files
with
14 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -131,25 +131,29 @@ jobs: | |
if: env.EndProcess == 'false' | ||
run: dotnet restore | ||
|
||
- name: Build for x64 | ||
# 86 bit build | ||
|
||
- name: Build for x86 | ||
if: env.EndProcess == 'false' | ||
run: dotnet publish --configuration Release --runtime win-x64 --self-contained false --output ./bin/Publish/win-x64 | ||
run: dotnet publish --configuration Release --runtime win-x86 --self-contained false --output ./bin/Publish/win-x86 | ||
|
||
- name: Zip x64 | ||
- name: Zip x86 | ||
if: env.EndProcess == 'false' | ||
run: Compress-Archive -Path "./bin/Publish/win-x64/*" -DestinationPath "./bin/Publish/win-x64.zip" | ||
run: Compress-Archive -Path "./bin/Publish/win-x86/*" -DestinationPath "./bin/Publish/win-x86.zip" | ||
|
||
- name: Upload x64 Release Asset | ||
- name: Upload x86 Release Asset | ||
if: env.EndProcess == 'false' | ||
uses: actions/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ steps.create_release.outputs.upload_url }} | ||
asset_path: ./bin/Publish/win-x64.zip | ||
asset_name: win-x64.zip | ||
asset_path: ./bin/Publish/win-x86.zip | ||
asset_name: win-x86.zip | ||
asset_content_type: application/zip | ||
|
||
# 64 bit build | ||
|
||
- name: Build for x64 | ||
if: env.EndProcess == 'false' | ||
run: dotnet publish --configuration Release --runtime win-x64 --self-contained false --output ./bin/Publish/win-x64 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters