Skip to content

Commit c1c20f2

Browse files
author
Andreas Kurka
committed
RuntimeIdentifier was the wrong value, reverted
added new variable OutSubPath
1 parent 7cb2f3b commit c1c20f2

File tree

1 file changed

+4
-40
lines changed

1 file changed

+4
-40
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
Wap_Project_Directory: MapCreationTool.Package
3535
Wap_Project_Name: MapCreationTool.Package.wapproj
3636
Actions_Allow_Unsecure_Commands: true # Allows AddPAth and SetEnv commands
37-
OutRuntimeIdentifier: win-${{ matrix.targetplatform }}
37+
OutSubPath: net5.0-windows
3838

3939
steps:
4040
- name: Checkout
@@ -74,9 +74,10 @@ jobs:
7474

7575
# Restore the application
7676
- name: Restore the Wpf application to populate the obj folder
77-
run: msbuild $env:Solution_Path /t:Restore /p:Configuration=$env:Configuration /p:RuntimeIdentifier=$env:OutRuntimeIdentifier
77+
run: msbuild $env:Solution_Path /t:Restore /p:Configuration=$env:Configuration /p:RuntimeIdentifier=$env:RuntimeIdentifier
7878
env:
7979
Configuration: Debug
80+
RuntimeIdentifier: win-${{ matrix.targetplatform }}
8081

8182
# Decode the Base64 encoded Pfx
8283
# - name: Decode the Pfx
@@ -107,46 +108,9 @@ jobs:
107108
# name: MSIX Package
108109
# path: ${{ env.Wap_Project_Directory }}\${{ env.App_Packages_Directory }}
109110

110-
- name: Upload a Build Artifact
111-
uses: actions/[email protected]
112-
with:
113-
# Artifact name
114-
name: MapCreationTool1 #.zip will be added automatically
115-
path: MapCreationTool\MapCreationTool\**/*.*
116-
117-
- name: Upload a Build Artifact
118-
uses: actions/[email protected]
119-
with:
120-
# Artifact name
121-
name: MapCreationTool2 #.zip will be added automatically
122-
path: MapCreationTool/MapCreationTool/**/*.*
123-
124-
- name: Upload a Build Artifact
125-
uses: actions/[email protected]
126-
with:
127-
# Artifact name
128-
name: MapCreationTool3 #.zip will be added automatically
129-
path: MapCreationTool/MapCreationTool/bin/**/*.*
130-
131-
- name: Upload a Build Artifact
132-
uses: actions/[email protected]
133-
with:
134-
# Artifact name
135-
name: MapCreationTool4 #.zip will be added automatically
136-
path: MapCreationTool/MapCreationTool/bin/${{ matrix.targetplatform }}/**/*.*
137-
138-
- name: Upload a Build Artifact
139-
uses: actions/[email protected]
140-
with:
141-
# Artifact name
142-
name: MapCreationTool5 #.zip will be added automatically
143-
path: MapCreationTool/MapCreationTool/bin/${{ matrix.targetplatform }}/${{ env.Configuration }}/**/*.*
144-
145111
- name: Upload a Build Artifact
146112
uses: actions/[email protected]
147113
with:
148114
# Artifact name
149115
name: MapCreationTool6 #.zip will be added automatically
150-
path: MapCreationTool/MapCreationTool/bin/${{ matrix.targetplatform }}/${{ env.Configuration }}/${{ env.OutRuntimeIdentifier }}/**/*.*
151-
152-
116+
path: MapCreationTool/MapCreationTool/bin/${{ matrix.targetplatform }}/${{ env.Configuration }}/${{ env.OutSubPath }}/**/*.*

0 commit comments

Comments
 (0)