File tree Expand file tree Collapse file tree 2 files changed +47
-0
lines changed
Expand file tree Collapse file tree 2 files changed +47
-0
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on : [push]
4+
5+ env :
6+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE : 1
7+ DOTNET_CLI_TELEMETRY_OPTOUT : 1
8+
9+ jobs :
10+ linux_build :
11+
12+ name : Linux build
13+ runs-on : ubuntu-latest
14+
15+ steps :
16+ - uses : actions/checkout@v2
17+ - name : Setup .NET Core
18+ uses : actions/setup-dotnet@v1
19+ with :
20+ dotnet-version : 3.1.300
21+ - name : Build
22+ run : dotnet build --configuration Release
23+
24+ publish :
25+
26+ name : Publish nuget package
27+ needs : linux_build
28+ runs-on : ubuntu-latest
29+
30+ if : github.ref == 'refs/heads/master'
31+ steps :
32+ - uses : actions/checkout@v2
33+ - name : Setup .NET Core
34+ uses : actions/setup-dotnet@v1
35+ with :
36+ dotnet-version : 3.1.300
37+ - name : Publish on version change
38+ uses : rohith/publish-nuget@v2
39+ with :
40+ PROJECT_FILE_PATH : src/Knet.Kudu.Binary/Knet.Kudu.Binary.csproj
41+ NUGET_KEY : ${{secrets.KUDU_NUGET_API_KEY}}
Original file line number Diff line number Diff line change @@ -42,3 +42,9 @@ foreach (var env in kuduExe.EnvironmentVariables)
4242var process = new Process (startInfo );
4343process .Start ();
4444```
45+
46+ ## Known Issues
47+
48+ This package doesn't work properly with runtime aware projects, because the directory structure for native assets is lost
49+ (kudu exes in bin end up in the same directory as lib). This isn't expected to be an issue as this package is only for tests.
50+ If this is an issue, the kudu binaries can instead be embedded in the library and extracted at runtime (open an issue).
You can’t perform that action at this time.
0 commit comments