From 24023ac90c74033c6d4583d27012fa3ee1901428 Mon Sep 17 00:00:00 2001 From: tinysec Date: Mon, 24 Nov 2025 22:59:41 +0800 Subject: [PATCH 1/2] ci: add pack --- .github/workflows/ci.yaml | 5 +++++ BinaryNinja.csproj | 13 +++++++++++-- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index afe0a94..531466f 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -76,6 +76,11 @@ jobs: echo "[+] build windows" dotnet publish -r win-x64 --self-contained=true -c Release -p:PublishDir=build /p:Version=${{ needs.version.outputs.version }} /p:FileVersion=${{ needs.version.outputs.version }} /p:AssemblyVersion=${{ needs.version.outputs.version }} /p:ProductVersion=${{ needs.version.outputs.version }} + - name: pack + run: | + echo "[+] Packing NuGet package" + dotnet pack --configuration Release -o build /p:Version=${{ needs.version.outputs.version }} + - name: collect artifacts shell: bash run: | diff --git a/BinaryNinja.csproj b/BinaryNinja.csproj index 3da09cd..5025a1e 100644 --- a/BinaryNinja.csproj +++ b/BinaryNinja.csproj @@ -19,10 +19,19 @@ 0.1.0.0 0.1.0.0 0.1.0.0 - tinysec.net - SharpBinja + https://github.com/tinysec + BinaryNinja tinysec©2006-2025 BinaryNinja dotnet bindings + + + BinaryNinja + binaryninja bn bnapi bindings + https://github.com/tinysec + MIT + https://github.com/tinysec/BinaryNinja + https://github.com/tinysec/BinaryNinja.git + git From 4cfa46dba38b54876e31411ed7f0509329d9c013 Mon Sep 17 00:00:00 2001 From: tinysec Date: Mon, 24 Nov 2025 23:00:15 +0800 Subject: [PATCH 2/2] ci: pack version --- .github/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 531466f..919bcd8 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -79,7 +79,7 @@ jobs: - name: pack run: | echo "[+] Packing NuGet package" - dotnet pack --configuration Release -o build /p:Version=${{ needs.version.outputs.version }} + dotnet pack --configuration Release -o build -p:PublishDir=build /p:Version=${{ needs.version.outputs.version }} /p:FileVersion=${{ needs.version.outputs.version }} /p:AssemblyVersion=${{ needs.version.outputs.version }} /p:ProductVersion=${{ needs.version.outputs.version }} - name: collect artifacts shell: bash