Skip to content

Commit

Permalink
Merge pull request #122 from AErmie/workflow-logic-test
Browse files Browse the repository at this point in the history
Workflow logic testing
  • Loading branch information
AErmie authored Jul 15, 2024
2 parents 0c203a4 + 8cb0253 commit ae1ee99
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/workflow-logic-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Workflow Logic Test
run-name: Workflow Logic Test

on:
workflow_dispatch:

permissions:
contents: read # This is required for actions/checkout

jobs:
job1:
name: Job 1
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

job2:
name: Job 2
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

job3:
name: Job 3
runs-on: ubuntu-latest
needs: [job1, job2]
if: ${{ always() }}
steps:
- name: Checkout
uses: actions/checkout@v4

job4:
name: Job 4
runs-on: ubuntu-latest
needs: job3
if: ${{ success() }}
steps:
- name: Checkout
uses: actions/checkout@v4

0 comments on commit ae1ee99

Please sign in to comment.