From 561e670da9cffb057ff599cbdc18f1dfc7b91977 Mon Sep 17 00:00:00 2001 From: Lamparter <71598437+Lamparter@users.noreply.github.com> Date: Tue, 31 Mar 2026 22:30:55 +0100 Subject: [PATCH 1/8] Add workflow job for building SDK libraries --- .github/workflows/ci.yml | 47 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2e99cf5ab..d941c220b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -147,6 +147,53 @@ jobs: -p:Platform="Any CPU" ` -p:Configuration=$env:CONFIGURATION +# - name: Upload artifact +# uses: actions/upload-artifact@v7 +# with: +# name: '' +# path: '' + + # Builds the SecureFolderFS SDK libraries + sdk: + needs: shared + runs-on: windows-2025-vs2026 + strategy: + fail-fast: false + matrix: + configuration: [Release, Debug] + project: [Sdk, Accounts, DeviceLink, Dropbox, Ftp, GoogleDrive, WebDavClient] + targetFramework: [net10.0] + env: + CONFIGURATION: ${{ matrix.configuration }} + PROJECT: ${{ matrix.project }} + THIS_PROJECT_PATH: ${{ github.workspace }}\src\Sdk\SecureFolderFS.${{ matrix.project }} + + steps: + - name: Checkout the repository + uses: actions/checkout@v6 + with: + submodules: recursive + + - name: Install Dependencies + uses: "./.github/install_dependencies" + with: + dotnet-version: ${{ env.DOTNET_SDK }} + run-uno-check: false + + - name: Restore + run: | + msbuild $env:SOLUTION_PATH ` + -t:Restore ` + -p:Platform="Any CPU" ` + -p:Configuration=$env:CONFIGURATION + + - name: Build + run: | + msbuild $env:THIS_PROJECT_PATH ` + -t:Build ` + -p:Platform="Any CPU" ` + -p:Configuration=$env:CONFIGURATION + # - name: Upload artifact # uses: actions/upload-artifact@v7 # with: From 80385d3d3f54af57cf4530711b9554d4cfc88268 Mon Sep 17 00:00:00 2001 From: d2dyno <53011783+d2dyno1@users.noreply.github.com> Date: Tue, 31 Mar 2026 23:35:35 +0200 Subject: [PATCH 2/8] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a910da250..c23edcd49 100644 --- a/README.md +++ b/README.md @@ -6,9 +6,9 @@ - + From 6820cec3c1f0d866cdb1817c5d5370aca8ad22f7 Mon Sep 17 00:00:00 2001 From: Lamparter <71598437+Lamparter@users.noreply.github.com> Date: Tue, 31 Mar 2026 22:47:42 +0100 Subject: [PATCH 3/8] Fix project reference error --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d941c220b..24a97c12b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -166,7 +166,7 @@ jobs: env: CONFIGURATION: ${{ matrix.configuration }} PROJECT: ${{ matrix.project }} - THIS_PROJECT_PATH: ${{ github.workspace }}\src\Sdk\SecureFolderFS.${{ matrix.project }} + THIS_PROJECT_PATH: ${{ github.workspace }}\src\Sdk\SecureFolderFS.Sdk.${{ matrix.project }} steps: - name: Checkout the repository From 77b590397953bdcffc1e1e0b0d12a52c4fa0ae23 Mon Sep 17 00:00:00 2001 From: Lamparter <71598437+Lamparter@users.noreply.github.com> Date: Tue, 31 Mar 2026 22:47:57 +0100 Subject: [PATCH 4/8] Add workflow job for building Core libraries --- .github/workflows/ci.yml | 62 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 24a97c12b..ecf5d0617 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -194,6 +194,68 @@ jobs: -p:Platform="Any CPU" ` -p:Configuration=$env:CONFIGURATION +# - name: Upload artifact +# uses: actions/upload-artifact@v7 +# with: +# name: '' +# path: '' + + # Builds the SecureFolderFS SDK libraries + core: + needs: [shared, lib] + runs-on: windows-2025-vs2026 + strategy: + fail-fast: false + matrix: + configuration: [Release, Debug] + project: [Dokany, FileSystem, FUSE, WebDav, WinFsp, Core, Cryptography, Migration] + targetFramework: [net10.0] + include: + - configuration: Release + project: MobileFS + targetFramework: net10.0-android + - configuration: Debug + project: MobileFS + targetFramework: net10.0-android + - configuration: Release + project: MobileFS + targetFramework: net10.0-ios + - configuration: Debug + project: MobileFS + targetFramework: net10.0-ios + env: + CONFIGURATION: ${{ matrix.configuration }} + PROJECT: ${{ matrix.project }} + THIS_PROJECT_PATH: ${{ github.workspace }}\src\Core\SecureFolderFS.Core.${{ matrix.project }} + THIS_TFM: ${{ matrix.targetFramework }} + + steps: + - name: Checkout the repository + uses: actions/checkout@v6 + with: + submodules: recursive + + - name: Install Dependencies + uses: "./.github/install_dependencies" + with: + dotnet-version: ${{ env.DOTNET_SDK }} + run-uno-check: false + + - name: Restore + run: | + msbuild $env:SOLUTION_PATH ` + -t:Restore ` + -p:Platform="Any CPU" ` + -p:Configuration=$env:CONFIGURATION + + - name: Build + run: | + msbuild $env:THIS_PROJECT_PATH ` + -t:Build ` + -p:Platform="Any CPU" ` + -p:Configuration=$env:CONFIGURATION ` + -p:TargetFramework=$env:THIS_TFM + # - name: Upload artifact # uses: actions/upload-artifact@v7 # with: From c651cc5064ba3e68f15baf8dede07c7bfe861a1e Mon Sep 17 00:00:00 2001 From: Lamparter <71598437+Lamparter@users.noreply.github.com> Date: Tue, 31 Mar 2026 23:04:30 +0100 Subject: [PATCH 5/8] Fix logic for deciding current project directory in SDK job --- .github/workflows/ci.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ecf5d0617..701a8c943 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -166,7 +166,6 @@ jobs: env: CONFIGURATION: ${{ matrix.configuration }} PROJECT: ${{ matrix.project }} - THIS_PROJECT_PATH: ${{ github.workspace }}\src\Sdk\SecureFolderFS.Sdk.${{ matrix.project }} steps: - name: Checkout the repository @@ -180,6 +179,16 @@ jobs: dotnet-version: ${{ env.DOTNET_SDK }} run-uno-check: false + - name: Find appropriate project to build + run: | + if ($env:PROJECT -eq "Sdk") { + $thisProject = "Sdk" + } else { + $thisProject = "Sdk.$env:PROJECT" + } + $thisProjectPath = "$env:WORKING_DIR\src\Sdk\$thisProject" + Add-Content -Path $env:GITHUB_ENV -Value "THIS_PROJECT_PATH=$thisProjectPath" + - name: Restore run: | msbuild $env:SOLUTION_PATH ` From 07371e72226ae23c161ba4e54fa329d35cb754ca Mon Sep 17 00:00:00 2001 From: d2dyno <53011783+d2dyno1@users.noreply.github.com> Date: Wed, 1 Apr 2026 00:05:57 +0200 Subject: [PATCH 6/8] Updated comment --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 701a8c943..7b4a74f8a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -209,7 +209,7 @@ jobs: # name: '' # path: '' - # Builds the SecureFolderFS SDK libraries + # Builds the SecureFolderFS Core libraries core: needs: [shared, lib] runs-on: windows-2025-vs2026 From 012e6bf415c3291bf31484eff47f2df47343dc8a Mon Sep 17 00:00:00 2001 From: Lamparter <71598437+Lamparter@users.noreply.github.com> Date: Tue, 31 Mar 2026 23:07:14 +0100 Subject: [PATCH 7/8] Fix logic for deciding current project directory in Core job --- .github/workflows/ci.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7b4a74f8a..ae047c30d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -186,7 +186,7 @@ jobs: } else { $thisProject = "Sdk.$env:PROJECT" } - $thisProjectPath = "$env:WORKING_DIR\src\Sdk\$thisProject" + $thisProjectPath = "$env:WORKING_DIR\src\Sdk\SecureFolderFS.$thisProject" Add-Content -Path $env:GITHUB_ENV -Value "THIS_PROJECT_PATH=$thisProjectPath" - name: Restore @@ -250,6 +250,16 @@ jobs: dotnet-version: ${{ env.DOTNET_SDK }} run-uno-check: false + - name: Find appropriate project to build + run: | + if ($env:PROJECT -eq "Core") { + $thisProject = "Core" + } else { + $thisProject = "Core.$env:PROJECT" + } + $thisProjectPath = "$env:WORKING_DIR\src\Core\SecureFolderFS.$thisProject" + Add-Content -Path $env:GITHUB_ENV -Value "THIS_PROJECT_PATH=$thisProjectPath" + - name: Restore run: | msbuild $env:SOLUTION_PATH ` From 4c6ffad823f59d02e9aada8b4e31c33e72456845 Mon Sep 17 00:00:00 2001 From: d2dyno <53011783+d2dyno1@users.noreply.github.com> Date: Wed, 1 Apr 2026 00:18:37 +0200 Subject: [PATCH 8/8] Update SecureFolderFS.Core.WebDav.csproj --- .../SecureFolderFS.Core.WebDav.csproj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Core/SecureFolderFS.Core.WebDav/SecureFolderFS.Core.WebDav.csproj b/src/Core/SecureFolderFS.Core.WebDav/SecureFolderFS.Core.WebDav.csproj index 2744f3c3c..d5e8c1552 100644 --- a/src/Core/SecureFolderFS.Core.WebDav/SecureFolderFS.Core.WebDav.csproj +++ b/src/Core/SecureFolderFS.Core.WebDav/SecureFolderFS.Core.WebDav.csproj @@ -10,8 +10,8 @@ - - + +