From f011a4b9a7b3d394479c592a2194e9d20452bed6 Mon Sep 17 00:00:00 2001 From: Nadim El Makhoud Date: Mon, 9 Sep 2024 16:19:21 +0200 Subject: [PATCH] Enabled SMB302 dialect, SMB311 does not seem to be supported yet --- .github/workflows/build-and-publish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-and-publish.yml b/.github/workflows/build-and-publish.yml index 9aa0f402..558b3592 100644 --- a/.github/workflows/build-and-publish.yml +++ b/.github/workflows/build-and-publish.yml @@ -27,10 +27,10 @@ jobs: run: sed 's/GITHUB_TOKEN/${{ secrets.NUGET_TOKEN }}/g' .nuget.config > nuget.config - name: Build packages - run: dotnet build -c Release /p:PublicRelease=true + run: dotnet build -c Release /p:PublicRelease=true /p:DefineConstants=SMB302_CLIENT - name: Pack packages - run: dotnet pack -c Release /p:PublicRelease=true + run: dotnet pack -c Release /p:PublicRelease=true /p:DefineConstants=SMB302_CLIENT - name: Publish Package run: dotnet nuget push ./**/*.nupkg -k ${{ secrets.NUGET_TOKEN }} -s https://api.nuget.org/v3/index.json