diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e2c2d611..62c3a43d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,8 +21,15 @@ jobs: - name: Checkout code uses: actions/checkout@v4 + - name: Load strong name certificate + run: | + echo "$SNC_BASE64" | base64 --decode > "${{ github.workspace }}/certificate.snk" + shell: bash + env: + SNC_BASE64: ${{ secrets.SNC_BASE64 }} + - name: Build package - run: dotnet build MQTTnet.sln --configuration Release /p:FileVersion=${{ env.VERSION }} /p:AssemblyVersion=${{ env.VERSION }} /p:PackageVersion=${{ env.VERSION }}${{ env.PACKAGE_SUFFIX }} + run: dotnet build MQTTnet.sln --configuration Release /p:FileVersion=${{ env.VERSION }} /p:AssemblyVersion=${{ env.VERSION }} /p:PackageVersion=${{ env.VERSION }}${{ env.PACKAGE_SUFFIX }} /p:SignAssembly=true /p:AssemblyOriginatorKeyFile=${{ github.workspace }}/certificate.snk - name: Upload nuget packages uses: actions/upload-artifact@v4 diff --git a/Source/ReleaseNotes.md b/Source/ReleaseNotes.md index 961b7027..0e69a1b9 100644 --- a/Source/ReleaseNotes.md +++ b/Source/ReleaseNotes.md @@ -1,3 +1,4 @@ * Core: Used new language features across the entire library * Core: Performance improvements * Server: Improved performance of retained messages when no event handler is attached (#2093, thanks to @zhaowgit) +* Restored the strong name of the nugets