Skip to content

Commit

Permalink
Merge branch '11.x.x' into action-hub-harness
Browse files Browse the repository at this point in the history
  • Loading branch information
johnhwhite authored Jan 6, 2025
2 parents d7a2de4 + 65df882 commit b03c189
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,8 @@ jobs:
exit 1
fi
fi
fgrep '[percy] Finalized build' ${{ runner.temp }}/percy-${{ matrix.project }}.log | cut -d/ -f 7 > ${{ runner.temp }}/percy-build-${{ matrix.project }}.txt
# Extract the Percy build number from the log
fgrep '[percy] Finalized build' ${{ runner.temp }}/percy-${{ matrix.project }}.log | node -e "const rl=require('readline').createInterface({ input: process.stdin }); rl.on('line', (input) => console.log(input.split('/').pop()))" > ${{ runner.temp }}/percy-build-${{ matrix.project }}.txt
env:
PERCY_TARGET_BRANCH: ${{ needs.install-deps.outputs.base-branch }}
PERCY_TARGET_COMMIT: ${{ steps.affected.outputs.percy_target_commit }}
Expand Down

0 comments on commit b03c189

Please sign in to comment.