@@ -36,15 +36,17 @@ jobs:
3636 with :
3737 dotnet-version : ' 8.0.x'
3838
39- - name : Create config file
39+ - name : Create Config Files
4040 shell : bash
41- run : echo '${{ secrets.CLIENT_LOCAL_SETTINGS_JSON }}' > src/ByteSync.Client/local.settings.json
42-
41+ run : |
42+ echo '${{ secrets.CLIENT_LOCAL_SETTINGS_JSON }}' > src/ByteSync.Client/local.settings.json
43+ echo '${{ secrets.FUNCTIONS_INTEGRATION_TESTS_LOCAL_SETTINGS_JSON}}' > src/ByteSync.Functions.IntegrationTests/functions-integration-tests.local.settings.json
44+
4345 - run : dotnet restore --locked-mode
4446 - run : dotnet clean --verbosity quiet
4547 - run : dotnet build --verbosity quiet /property:WarningLevel=0
4648
47- - name : Upload build artifacts
49+ - name : Upload Build Artifacts
4850 uses : actions/upload-artifact@v4
4951 with :
5052 name : build-artifacts-linux
6769 dotnet-version : ' 8.0.x'
6870
6971 - run : dotnet restore --locked-mode
70- - run : echo "$TEST_PROJECTS"
71-
72- - name : Download build artifacts
72+
73+ - name : Download Build Artifacts
7374 uses : actions/download-artifact@v4
7475 with :
7576 name : build-artifacts-linux
9495 if : failure()
9596 run : echo "Some tests failed. Check uploaded artifacts for detailed logs."
9697
97-
98- # === macOS ===
9998 build-mac :
10099 runs-on : macos-latest
101100 steps :
@@ -117,14 +116,24 @@ jobs:
117116 with :
118117 dotnet-version : ' 8.0.x'
119118
120- - name : Create config file
119+ - name : Create config files
121120 shell : bash
122- run : echo '${{ secrets.CLIENT_LOCAL_SETTINGS_JSON }}' > src/ByteSync.Client/local.settings.json
121+ run : |
122+ echo '${{ secrets.CLIENT_LOCAL_SETTINGS_JSON }}' > src/ByteSync.Client/local.settings.json
123+ echo '${{ secrets.FUNCTIONS_INTEGRATION_TESTS_LOCAL_SETTINGS_JSON}}' > src/ByteSync.Functions.IntegrationTests/functions-integration-tests.local.settings.json
123124
124125 - run : dotnet restore --locked-mode
125126 - run : dotnet clean --verbosity quiet
126127 - run : dotnet build --verbosity quiet /property:WarningLevel=0
127128
129+ - name : Upload Build Artifacts
130+ uses : actions/upload-artifact@v4
131+ with :
132+ name : build-artifacts-mac
133+ path : |
134+ **/bin/
135+ **/obj/
136+
128137 test-mac :
129138 needs : build-mac
130139 runs-on : macos-latest
@@ -140,7 +149,12 @@ jobs:
140149 dotnet-version : ' 8.0.x'
141150
142151 - run : dotnet restore --locked-mode
143-
152+
153+ - name : Download Build Artifacts
154+ uses : actions/download-artifact@v4
155+ with :
156+ name : build-artifacts-mac
157+
144158 - name : Run Tests
145159 run : |
146160 echo "$TEST_PROJECT" | while read -r $project; do
@@ -160,8 +174,6 @@ jobs:
160174 if : failure()
161175 run : echo "Some tests failed. Check uploaded artifacts for detailed logs."
162176
163-
164- # === WINDOWS ===
165177 build-win :
166178 runs-on : windows-latest
167179 steps :
@@ -183,14 +195,24 @@ jobs:
183195 with :
184196 dotnet-version : ' 8.0.x'
185197
186- - name : Create config file
198+ - name : Create Config Files
187199 shell : bash
188- run : echo '${{ secrets.CLIENT_LOCAL_SETTINGS_JSON }}' > src/ByteSync.Client/local.settings.json
200+ run : |
201+ echo '${{ secrets.CLIENT_LOCAL_SETTINGS_JSON }}' > src/ByteSync.Client/local.settings.json
202+ echo '${{ secrets.FUNCTIONS_INTEGRATION_TESTS_LOCAL_SETTINGS_JSON}}' > src/ByteSync.Functions.IntegrationTests/functions-integration-tests.local.settings.json
189203
190204 - run : dotnet restore --locked-mode
191205 - run : dotnet clean --verbosity quiet
192206 - run : dotnet build --verbosity quiet /property:WarningLevel=0
193-
207+
208+ - name : Upload Build Artifacts
209+ uses : actions/upload-artifact@v4
210+ with :
211+ name : build-artifacts-linux
212+ path : |
213+ **/bin/
214+ **/obj/
215+
194216 test-win :
195217 needs : build-win
196218 runs-on : windows-latest
@@ -206,7 +228,12 @@ jobs:
206228 dotnet-version : ' 8.0.x'
207229
208230 - run : dotnet restore --locked-mode
209-
231+
232+ - name : Download Build Artifacts
233+ uses : actions/download-artifact@v4
234+ with :
235+ name : build-artifacts-linux
236+
210237 - name : Run Tests
211238 run : |
212239 echo "$TEST_PROJECT" | while read -r $project; do
0 commit comments