Skip to content

Commit

Permalink
use chained workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
hugomontero committed May 2, 2024
1 parent bfe5067 commit e562482
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
name: Build Package

on:
push:
branches: [ "master", "feature/cli-installer-v2" ] # should change once we have a stable branch
pull_request:
branches: [ "master", "feature/cli-installer-v2" ]
workflow_run:
workflows: [Run Tests]
types:
- completed

jobs:
build:
runs-on: ubuntu-latest # Choose an appropriate runner
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- uses: actions/checkout@v3

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Tests
name: Run Tests

on: [push]

Expand Down

0 comments on commit e562482

Please sign in to comment.