diff --git a/.github/workflows/build-ilspy.yml b/.github/workflows/build-ilspy.yml index 3a2e278c8..41ea7551b 100644 --- a/.github/workflows/build-ilspy.yml +++ b/.github/workflows/build-ilspy.yml @@ -105,7 +105,7 @@ jobs: path: ILSpy.AddIn.VS2022\bin\${{ matrix.configuration }}\net472\*.vsix if-no-files-found: error - - name: Upload NuGet release build artifacts + - name: Upload Decompiler NuGet release build artifacts if: matrix.configuration == 'release' uses: actions/upload-artifact@v2 with: @@ -113,10 +113,23 @@ jobs: path: ICSharpCode.Decompiler\bin\Release\ICSharpCode.Decompiler*.nupkg if-no-files-found: error - - name: Publish NuGet + - name: Publish Decompiler NuGet if: github.ref == 'refs/heads/master' && matrix.configuration == 'release' run: | dotnet nuget push "ICSharpCode.Decompiler\bin\Release\ICSharpCode.Decompiler*.nupkg" --api-key ${{ secrets.GITHUB_TOKEN }} --source https://nuget.pkg.github.com/${{ github.repository_owner }} + + - name: Upload ILSpyX NuGet release build artifacts + if: matrix.configuration == 'release' + uses: actions/upload-artifact@v2 + with: + name: ICSharpCode.ILSpyX NuGet Package (${{ matrix.configuration }}) + path: ICSharpCode.ILSpyX\bin\Release\ICSharpCode.ILSpyX*.nupkg + if-no-files-found: error + + - name: Publish ILSpyX NuGet + if: github.ref == 'refs/heads/master' && matrix.configuration == 'release' + run: | + dotnet nuget push "ICSharpCode.ILSpyX\bin\Release\ICSharpCode.ILSpyX*.nupkg" --api-key ${{ secrets.GITHUB_TOKEN }} --source https://nuget.pkg.github.com/${{ github.repository_owner }} - name: Upload zip binaries build artifacts uses: actions/upload-artifact@v2 diff --git a/ICSharpCode.ILSpyX/ICSharpCode.ILSpyX.csproj b/ICSharpCode.ILSpyX/ICSharpCode.ILSpyX.csproj index 0bc996c83..d30600152 100644 --- a/ICSharpCode.ILSpyX/ICSharpCode.ILSpyX.csproj +++ b/ICSharpCode.ILSpyX/ICSharpCode.ILSpyX.csproj @@ -14,11 +14,44 @@ False + + ICSharpCode.ILSpyX + 8.0.0.0-noversion + ILSpyX Platform + ILSpy Contributors + MIT + https://github.com/icsharpcode/ILSpy/ + Core cross-platform library used by ILSpy. + PackageReadme.md + ic#code + ILSpyX + git + https://github.com/icsharpcode/ILSpy.git + ../ICSharpCode.Decompiler/DecompilerNuGetPackageIcon.png + false + Copyright 2022-$([System.DateTime]::Now.Year) AlphaSierraPapa + C# Decompiler ILSpy + + true + embedded + true + true + true + + + + + + + + + true + @@ -29,6 +62,10 @@ + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + diff --git a/ICSharpCode.ILSpyX/PackageReadme.md b/ICSharpCode.ILSpyX/PackageReadme.md new file mode 100644 index 000000000..fa6e16f3c --- /dev/null +++ b/ICSharpCode.ILSpyX/PackageReadme.md @@ -0,0 +1,3 @@ +## About + +ICSharpCode.ILSpyX is the core cross-platform implemenation of [ILSpy](https://github.com/icsharpcode/ILSpy/) that can be reused to build alternate frontends more easily.