Skip to content

WIP: Trigger build workflow on lifecycle-release dispatch event and update builder.toml lifecycle version #138

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

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft
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
13 changes: 13 additions & 0 deletions .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:
repository_dispatch:
types:
- pack-release
- lifecycle-release

jobs:
build-deploy-linux:
Expand Down Expand Up @@ -130,3 +131,15 @@ jobs:
- name: Deploy
if: (github.event_name == 'repository_dispatch') || (github.event_name == 'push' && github.ref == 'refs/heads/main')
run: make deploy-windows-packages
update-lifecycle-version:
name: Update lifecycle version of sample builders
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Update lifecycle version
run: echo ${{ github.event.client_payload.version }}
- name: Check event event_name
run: echo ${{ github.event_name }}