Skip to content

Commit 3625ac7

Browse files
[FSSDK-11956] making upload parallel + artifact name change
1 parent d96ff06 commit 3625ac7

File tree

1 file changed

+18
-8
lines changed

1 file changed

+18
-8
lines changed

.github/workflows/csharp_release.yml

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -96,13 +96,13 @@ jobs:
9696
- name: Upload Framework artifacts
9797
uses: actions/upload-artifact@v4
9898
with:
99-
name: unsigned-dlls
99+
name: unsigned-dlls-framework
100100
if-no-files-found: error
101101
path: ./**/bin/Release/**/Optimizely*.dll
102102

103103
buildStandard16:
104104
name: Build Standard 1.6 version
105-
needs: [ variables, buildFrameworkVersions ]
105+
needs: [ variables ]
106106
runs-on: windows-2022
107107
steps:
108108
- name: Checkout code
@@ -118,13 +118,13 @@ jobs:
118118
- name: Upload Standard 1.6 artifact
119119
uses: actions/upload-artifact@v4
120120
with:
121-
name: unsigned-dlls
121+
name: unsigned-dlls-netstandard16
122122
if-no-files-found: error
123123
path: ./**/bin/Release/**/Optimizely*.dll
124124

125125
buildStandard20:
126126
name: Build Standard 2.0 version
127-
needs: [ variables, buildStandard16 ]
127+
needs: [ variables ]
128128
runs-on: windows-2022
129129
steps:
130130
- name: Checkout code
@@ -137,10 +137,10 @@ jobs:
137137
run: dotnet restore OptimizelySDK.NetStandard20/OptimizelySDK.NetStandard20.csproj
138138
- name: Build and strongly name Standard 2.0 project
139139
run: dotnet build OptimizelySDK.NetStandard20/OptimizelySDK.NetStandard20.csproj /p:SignAssembly=true /p:AssemblyOriginatorKeyFile=$(pwd)/keypair.snk -c Release
140-
- name: Build and strongly name assemblies
140+
- name: Upload Standard 2.0 artifacts
141141
uses: actions/upload-artifact@v4
142142
with:
143-
name: unsigned-dlls
143+
name: unsigned-dlls-netstandard20
144144
if-no-files-found: error
145145
path: ./**/bin/Release/**/Optimizely*.dll
146146

@@ -158,10 +158,20 @@ jobs:
158158
# TODO: Remove this when we're ready to automate
159159
- name: Temporarily halt progress
160160
run: exit 1
161-
- name: Download the unsigned files
161+
- name: Download Framework DLLs
162+
uses: actions/download-artifact@v4
163+
with:
164+
name: unsigned-dlls-framework
165+
path: ./unsigned-dlls
166+
- name: Download NetStandard 1.6 DLLs
167+
uses: actions/download-artifact@v4
168+
with:
169+
name: unsigned-dlls-netstandard16
170+
path: ./unsigned-dlls
171+
- name: Download NetStandard 2.0 DLLs
162172
uses: actions/download-artifact@v4
163173
with:
164-
name: unsigned-dlls
174+
name: unsigned-dlls-netstandard20
165175
path: ./unsigned-dlls
166176
- name: Setup SSH
167177
uses: shimataro/ssh-key-action@v2

0 commit comments

Comments
 (0)