Skip to content

Commit c0f0ebc

Browse files
committed
fix yml
1 parent e2191ae commit c0f0ebc

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

.github/workflows/dotnet-core-desktop.yml

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,6 @@ jobs:
2929
with:
3030
fetch-depth: 0
3131

32-
- name: Write key file
33-
run: |
34-
echo "${{ secrets.AUTH }}" | base64 -di > ./Installer/Installer_TemporaryKey.pfx
35-
3632
# Install the .NET Core workload
3733
- name: Install .NET Core
3834
uses: actions/setup-dotnet@v4.2.0
@@ -42,7 +38,11 @@ jobs:
4238
# Add MSBuild to the PATH: https://github.com/microsoft/setup-msbuild
4339
- name: Add msbuild to PATH
4440
uses: microsoft/setup-msbuild@v1.3.1
45-
41+
# Publish the application NET48
42+
- name: Publish the application NET8
43+
run: dotnet publish ./Analogy/Analogy.csproj -c=Release /p:Platform=x64 --framework net48 --runtime win-x64
44+
env:
45+
Configuration: ${{ matrix.configuration }}
4646
# Publish the application NET8
4747
- name: Publish the application NET8
4848
run: dotnet publish ./Analogy/Analogy.csproj -c=Release /p:Platform=x64 --framework net8.0-windows --runtime win-x64
@@ -58,15 +58,17 @@ jobs:
5858
#- name: Execute unit tests
5959
# run: dotnet test
6060

61-
- name: Delete key file
62-
run: |
63-
rm ./Installer/Installer_TemporaryKey.pfx
64-
61+
# Publish Artifacts
62+
- name: 'Publish Artifacts NET48'
63+
uses: actions/upload-artifact@v4.4.3
64+
with:
65+
name: net48_${{ matrix.configuration }}
66+
path: ./Analogy/bin/x64/Release/net48/win-x64/publish
6567
# Publish Artifacts
6668
- name: 'Publish Artifacts NET8'
6769
uses: actions/upload-artifact@v4.4.3
6870
with:
69-
name: net9.0-windows_${{ matrix.configuration }}
71+
name: net8.0-windows_${{ matrix.configuration }}
7072
path: ./Analogy/bin/x64/Release/net8.0-windows/win-x64/publish
7173
# Publish Artifacts
7274
- name: 'Publish Artifacts NET9'

0 commit comments

Comments
 (0)