Skip to content

Commit

Permalink
Update publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
zaafar authored Jul 21, 2024
1 parent a6d0e23 commit 5e47e10
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,21 @@ jobs:
- name: Publish to nuget.org
if: startsWith(github.ref, 'refs/tags/')
run: dotnet nuget push ClickableTransparentOverlay\bin\Release\* -s https://api.nuget.org/v3/index.json --api-key ${{secrets.NUGET_API_KEY}}

- name: Build Demo for Github
run: |
dotnet build -c Release Examples/MultiThreadedOverlay
tar -a -v -c -f demo.zip Examples\MultiThreadedOverlay\bin\Release
- name: Upload Demo on Github
if: startsWith(github.ref, 'refs/tags/')
uses: softprops/action-gh-release@v2
with:
files: |
win-x64/cimgui.win-x64.dll
win-x86/cimgui.win-x86.dll
win-ARM64/cimgui.win-arm64.dll
win-ARM/cimgui.win-arm.dll
JsonFiles/*
ubuntu-latest-x64/cimgui.so
macos-latest-x64/cimgui.dylib

0 comments on commit 5e47e10

Please sign in to comment.