Skip to content

Commit f3b8415

Browse files
authored
ci: add readme (#6)
1 parent ce50daf commit f3b8415

File tree

3 files changed

+19
-6
lines changed

3 files changed

+19
-6
lines changed

.github/workflows/ci.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ jobs:
9494
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
9595
with:
9696
name: ${{ matrix.platform }}-v${{ needs.version.outputs.version }}
97-
path: artifacts/*.*
97+
path: artifacts/**
9898

9999
release:
100100
needs: [ version , build ]
@@ -110,16 +110,17 @@ jobs:
110110
uses: actions/download-artifact@v4
111111
with:
112112
path: artifacts
113+
merge-multiple: true
113114

114115
- name: create release
115116
uses: softprops/action-gh-release@v1
116117
with:
117118
tag_name: v${{ needs.version.outputs.version }}
118119
name: release v${{ needs.version.outputs.version }}
119-
generate_releases: true
120+
generate_release_notes: true
120121
draft: false
121122
prerelease: true
122-
files: artifacts/*.*
123+
files: artifacts/**
123124

124125
- name: publish to NuGet
125126
continue-on-error: true

BinaryNinja.csproj

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,29 @@
2727
<!-- NuGet Package properties -->
2828
<PackageId>BinaryNinja</PackageId>
2929
<PackageTags>binaryninja bn bnapi bindings</PackageTags>
30-
<Authors>https://github.com/tinysec</Authors>
30+
<Authors>tinysec</Authors>
3131
<PackageLicenseExpression>MIT</PackageLicenseExpression>
3232
<PackageProjectUrl>https://github.com/tinysec/BinaryNinja</PackageProjectUrl>
3333
<RepositoryUrl>https://github.com/tinysec/BinaryNinja.git</RepositoryUrl>
3434
<RepositoryType>git</RepositoryType>
35+
<PackageReadmeFile>README.md</PackageReadmeFile>
3536
</PropertyGroup>
3637

3738
<!-- for Windows -->
3839
<PropertyGroup Condition="'$(RuntimeIdentifier)' == 'win-x64'">
3940
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
4041
<IncludeNativeLibrariesForSelfExtract>true</IncludeNativeLibrariesForSelfExtract>
4142
</PropertyGroup>
43+
44+
<ItemGroup>
45+
<None Include="LICENSE">
46+
<Pack>true</Pack>
47+
<PackagePath>\</PackagePath>
48+
</None>
49+
50+
<None Include="README.md">
51+
<Pack>true</Pack>
52+
<PackagePath>\</PackagePath>
53+
</None>
54+
</ItemGroup>
4255
</Project>

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# BinaryNinja C# Bindings (Typed, Safe, Native AOT Ready)
22

3-
[![Build](https://img.shields.io/github/actions/workflow/status/tinysec/binaryninja/ci.yml?branch=master)](https://github.com/tinysec/binaryninja/actions)
43
[![NuGet](https://img.shields.io/nuget/v/BinaryNinja.svg)](https://www.nuget.org/packages/BinaryNinja)
54
![License](https://img.shields.io/github/license/tinysec/binaryninja)
65
![Platforms](https://img.shields.io/badge/platforms-windows%20%7C%20linux-blue)
@@ -53,7 +52,7 @@ class Program
5352
throw new Exception("load fail");
5453
}
5554

56-
foreach(Function? function in view.Functions)
55+
foreach(Function function in view.Functions)
5756
{
5857
Console.WriteLine(function.RawName);
5958
}

0 commit comments

Comments
 (0)