Skip to content

Commit ee6d939

Browse files
Package BamlDecompiler in CI
1 parent 7c6f7fe commit ee6d939

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

.github/workflows/build-ilspy.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,20 @@ jobs:
158158
if: github.ref == 'refs/heads/master' && matrix.configuration == 'release'
159159
run: |
160160
dotnet nuget push "ICSharpCode.ILSpyX\bin\Release\ICSharpCode.ILSpyX*.nupkg" --api-key ${{ secrets.GITHUB_TOKEN }} --source https://nuget.pkg.github.com/${{ github.repository_owner }}
161-
161+
162+
- name: Upload BamlDecompiler NuGet release build artifacts
163+
if: matrix.configuration == 'release'
164+
uses: actions/upload-artifact@v4
165+
with:
166+
name: ICSharpCode.BamlDecompiler NuGet Package (${{ matrix.configuration }})
167+
path: ICSharpCode.BamlDecompiler\bin\Release\ICSharpCode.BamlDecompiler*.nupkg
168+
if-no-files-found: error
169+
170+
- name: Publish DecomBamlDecompilerpiler NuGet
171+
if: github.ref == 'refs/heads/master' && matrix.configuration == 'release'
172+
run: |
173+
dotnet nuget push "ICSharpCode.BamlDecompiler\bin\Release\ICSharpCode.BamlDecompiler*.nupkg" --api-key ${{ secrets.GITHUB_TOKEN }} --source https://nuget.pkg.github.com/${{ github.repository_owner }}
174+
162175
- name: Upload zip binaries build artifacts
163176
uses: actions/upload-artifact@v4
164177
with:

0 commit comments

Comments
 (0)