Skip to content

Commit 5a0d5ab

Browse files
committed
Update publish.yml
1 parent f33ea69 commit 5a0d5ab

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/publish.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ jobs:
2424
with:
2525
dotnet-version: 8.0.x
2626

27-
# - name: Restore dependencies
28-
# run: |
29-
# dotnet restore KeyAsio.Gui
27+
- name: Restore dependencies
28+
run: |
29+
dotnet restore KeyAsio.Gui
3030
3131
- name: Secrets
3232
if: ${{ success() }}
@@ -39,8 +39,8 @@ jobs:
3939
if: ${{ success() }}
4040
run: |
4141
echo ${{ github.ref }}
42-
dotnet publish KeyAsio.Gui --framework net8.0-windows --runtime win-x64 --self-contained --configuration Release -p:PublishReadyToRun=true --output ci-publish-win64
43-
dotnet publish KeyAsio.Gui --framework net8.0-windows --runtime win-x86 --self-contained --configuration Release -p:PublishReadyToRun=true --output ci-publish-win32
42+
dotnet publish KeyAsio.Gui --no-restore --framework net8.0-windows --runtime win-x64 --self-contained --configuration Release --output ci-publish-win64
43+
dotnet publish KeyAsio.Gui --no-restore --framework net8.0-windows --runtime win-x86 --self-contained --configuration Release --output ci-publish-win32
4444
4545
# echo '<project outputDir="." baseDir=".\ci-publish" xmlns="http://confuser.codeplex.com"><rule pattern="true" preset="maximum" inherit="false" /><module path="KeyAsio.Sentry.dll" /></project>'>confuse.crproj
4646
# .\ConfuserEx\Confuser.CLI.exe confuse.crproj -n
@@ -93,13 +93,13 @@ jobs:
9393
9494
## Release notes
9595
1. Place holder
96-
97-
### Installation
98-
.NET 8.0 Desktop Runtime is required for the smallest asset.
99-
For the other two assets with "-win32" and "-win64" postfix, you don't need to install anything more.
10096
name: ${{ env.ProjectName }}-${{ steps.tag.outputs.tag }}
10197
prerelease: true
10298
draft: false
10399
files: |
104100
./ci-pack/${{ env.ProjectName }}-${{ steps.tag.outputs.tag }}-win64.7z
105101
./ci-pack/${{ env.ProjectName }}-${{ steps.tag.outputs.tag }}-win32.7z
102+
103+
# ### Installation
104+
# .NET 8.0 Desktop Runtime is required for the smallest asset.
105+
# For the other two assets with "-win32" and "-win64" postfix, you don't need to install anything more.

0 commit comments

Comments
 (0)