Skip to content

Commit dcc5a5b

Browse files
committed
testing workflow
1 parent d987c3b commit dcc5a5b

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

.github/workflows/marketing-app-ci.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,33 +8,30 @@ on:
88
paths:
99
- 'frontend/**'
1010

11-
1211
env:
1312
APPLITOOLS_BATCH_ID: ${{ github.event.pull_request.head.sha || github.sha }}
1413

1514
jobs:
1615
# Initializes common variables and environment prior to executing other jobs
1716
setup:
1817
runs-on: ubuntu-24.04
19-
outputs:
20-
eyes-batch-id: ${{ env.APPLITOOLS_BATCH_ID }}
2118
steps:
2219
- name: Generate Eyes Batch ID
23-
run: echo "uuid=$(uuidgen)" >> $GITHUB_OUTPUT
20+
run: echo "eyes-batch-id=$APPLITOOLS_BATCH_ID" >> $GITHUB_OUTPUT
2421

2522
marketing:
2623
needs: setup
2724
uses: ./.github/workflows/orig-marketing-app-ci.yml
2825
secrets: inherit
2926
with:
30-
eyes-batch-id: ${{ env.APPLITOOLS_BATCH_ID }}
27+
eyes-batch-id: ${{ needs.setup.outputs.eyes-batch-id }}
3128

3229
component-library:
3330
needs: setup
3431
uses: ./.github/workflows/component-library-ci.yml
3532
secrets: inherit
3633
with:
37-
eyes-batch-id: ${{ env.APPLITOOLS_BATCH_ID }}
34+
eyes-batch-id: ${{ needs.setup.outputs.eyes-batch-id }}
3835

3936
teardown:
4037
needs: [setup, marketing, component-library]
@@ -45,4 +42,4 @@ jobs:
4542
- name: Update Applitools batch status
4643
shell: bash
4744
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}}

0 commit comments

Comments
 (0)