-
Notifications
You must be signed in to change notification settings - Fork 79
54 lines (50 loc) · 1.24 KB
/
jf-test-flow.yml
File metadata and controls
54 lines (50 loc) · 1.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
name: jf-test-flow
on:
push:
branches-ignore: [main]
jobs:
job-a:
if: false
runs-on: ubuntu-latest
outputs:
job-a-res: ${{ steps.main.outputs.job_a_res }}
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.SVC_CLI_BOT_GITHUB_TOKEN }}
- name: Main
id: main
run: |
echo "job_a_res=beeeeeeeep" >> "$GITHUB_OUTPUT"
job-b:
needs: [job-a]
if: always() && (needs.job-a.result == 'success' || needs.job-a.result == 'skipped')
runs-on: ubuntu-latest
outputs:
job-b-res: ${{ steps.main.outputs.job_b_res }}
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.SVC_CLI_BOT_GITHUB_TOKEN }}
fetch-depth: 0
- name: Main
id: main
run: |
echo "job_b_res=asdfasdfasdf" >> "$GITHUB_OUTPUT"
job-c:
needs: [job-b]
if: always() && needs.job-b.result == 'success'
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
command:
- "beep"
provider:
- "p1"
- "p2"
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- name: Main
run: |
echo "${{ matrix.command }}, ${{ matrix.provider }}"