Skip to content

Commit eca9ad2

Browse files
committed
Try fixing SDK installation and restore
1 parent a5df1dc commit eca9ad2

1 file changed

Lines changed: 32 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ env:
1616
SFFS_CLI_PROJECT_PATH: '${{ github.workspace }}\src\Platforms\SecureFolderFS.Cli\SecureFolderFS.Cli.csproj'
1717
DOTNET_TFM: 'net10.0'
1818
DOTNET_SDK: '10.0.102'
19+
NUGET_PACKAGES: ${{ github.workspace }}\.nuget\packages
20+
NUGET_HTTP_CACHE_PATH: ${{ github.workspace }}\.nuget\http-cache
1921

2022
jobs:
2123
# Ensures that the formatting in all XAML files across the codebase is correct for the latest commit.
@@ -180,6 +182,12 @@ jobs:
180182
with:
181183
name: ${{ env.PREREQUISITE }}
182184

185+
- name: Install Dependencies
186+
uses: "./.github/install_dependencies"
187+
with:
188+
dotnet-version: ${{ env.DOTNET_SDK }}
189+
run-uno-check: false
190+
183191
- name: Find appropriate project to build
184192
run: |
185193
if ($env:PROJECT -eq "Sdk") {
@@ -241,6 +249,12 @@ jobs:
241249
with:
242250
name: ${{ env.PREREQUISITE }}
243251

252+
- name: Install Dependencies
253+
uses: "./.github/install_dependencies"
254+
with:
255+
dotnet-version: ${{ env.DOTNET_SDK }}
256+
run-uno-check: false
257+
244258
- name: Find appropriate project to build
245259
run: |
246260
if ($env:PROJECT -eq "Core") {
@@ -290,6 +304,12 @@ jobs:
290304
with:
291305
name: ${{ env.PREREQUISITE }}
292306

307+
- name: Install Dependencies
308+
uses: "./.github/install_dependencies"
309+
with:
310+
dotnet-version: ${{ env.DOTNET_SDK }}
311+
run-uno-check: false
312+
293313
- name: Build
294314
run: |
295315
msbuild $env:THIS_PROJECT_PATH `
@@ -326,6 +346,12 @@ jobs:
326346
with:
327347
name: ${{ env.PREREQUISITE }}
328348

349+
- name: Install Dependencies
350+
uses: "./.github/install_dependencies"
351+
with:
352+
dotnet-version: ${{ env.DOTNET_SDK }}
353+
run-uno-check: false
354+
329355
- name: Build
330356
run: |
331357
msbuild $env:THIS_PROJECT_PATH `
@@ -356,6 +382,12 @@ jobs:
356382
with:
357383
name: ${{ env.PREREQUISITE }}
358384

385+
- name: Install Dependencies
386+
uses: "./.github/install_dependencies"
387+
with:
388+
dotnet-version: ${{ env.DOTNET_SDK }}
389+
run-uno-check: false
390+
359391
- name: Build
360392
run: |
361393
msbuild $env:THIS_PROJECT_PATH `

0 commit comments

Comments
 (0)