File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change 8
8
paths :
9
9
- ' frontend/**'
10
10
11
-
12
11
env :
13
12
APPLITOOLS_BATCH_ID : ${{ github.event.pull_request.head.sha || github.sha }}
14
13
15
14
jobs :
16
15
# Initializes common variables and environment prior to executing other jobs
17
16
setup :
18
17
runs-on : ubuntu-24.04
19
- outputs :
20
- eyes-batch-id : ${{ env.APPLITOOLS_BATCH_ID }}
21
18
steps :
22
19
- name : Generate Eyes Batch ID
23
- run : echo "uuid=$(uuidgen) " >> $GITHUB_OUTPUT
20
+ run : echo "eyes-batch-id=$APPLITOOLS_BATCH_ID " >> $GITHUB_OUTPUT
24
21
25
22
marketing :
26
23
needs : setup
27
24
uses : ./.github/workflows/orig-marketing-app-ci.yml
28
25
secrets : inherit
29
26
with :
30
- eyes-batch-id : ${{ env.APPLITOOLS_BATCH_ID }}
27
+ eyes-batch-id : ${{ needs.setup.outputs.eyes-batch-id }}
31
28
32
29
component-library :
33
30
needs : setup
34
31
uses : ./.github/workflows/component-library-ci.yml
35
32
secrets : inherit
36
33
with :
37
- eyes-batch-id : ${{ env.APPLITOOLS_BATCH_ID }}
34
+ eyes-batch-id : ${{ needs.setup.outputs.eyes-batch-id }}
38
35
39
36
teardown :
40
37
needs : [setup, marketing, component-library]
45
42
- name : Update Applitools batch status
46
43
shell : bash
47
44
run : |
48
- curl -X POST -d -H "accept:*/*" https://eyesapi.applitools.com/api/externals/github/servers/github.com/commit/${{ env.APPLITOOLS_BATCH_ID }}/complete?apiKey=${{secrets.APPLITOOLS_API_KEY}}
45
+ curl -X POST -d -H "accept:*/*" https://eyesapi.applitools.com/api/externals/github/servers/github.com/commit/${{ needs.setup.outputs.eyes-batch-id }}/complete?apiKey=${{secrets.APPLITOOLS_API_KEY}}
You can’t perform that action at this time.
0 commit comments