Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

189 on pull request or push on main send new binaries to windows installer #190

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 13 additions & 2 deletions .github/workflows/build_binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ name: build_binaries

on:
push:
branches: [ "main" ]
branches: [ "main", "189-on-pull-request-or-push-on-main-send-new-binaries-to-windows-installer" ]
pull_request:
branches: [ "main" ]

Expand All @@ -28,4 +28,15 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: windows_binaries
path: target/release/panduza-rust-platform.exe
path: target/release/panduza-rust-platform.exe

# Once binaries has been artifacted then we can start workflow of Windows installer giving
# binaries of platform

- name: Start Windows installer workflow
uses: peter-evans/repository-dispatch@v1
with:
token: ${{ secrets.TOKEN_WINDOWS_INSTALLER }}
repository: Panduza/panduza_windows_installer
event-type: update-windows-installer
client-payload: '{"ref": "${{ github.ref }}"}'
Loading