Skip to content

Commit b7d1151

Browse files
ci: fix backtick parsing (#788)
Co-authored-by: Wim Selles <wim@wswebcreation.nl>
1 parent bfe2187 commit b7d1151

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ jobs:
2121
PR_TITLE="${{ github.event.pull_request.title }}"
2222
UNIT_TEST_REGEX='(@typescript-eslint|vitest|eslint|@types|@tsconfig|ts-node|jsdom|typescript)'
2323
WEB_TEST_REGEX='(@wdio(?!\/appium-service)|copyfiles|rimraf|saucelabs|lambdatest|webdriverio)'
24-
if [[ $PR_TITLE =~ $UNIT_TEST_REGEX ]]; then
25-
echo "::set-output name=run_unit_tests::true"
24+
if [[ "$PR_TITLE" =~ $UNIT_TEST_REGEX ]]; then
25+
echo "run_unit_tests=true" >> $GITHUB_OUTPUT
2626
fi
27-
if [[ $PR_TITLE =~ $WEB_TEST_REGEX ]]; then
28-
echo "::set-output name=run_web_tests::true"
27+
if [[ "$PR_TITLE" =~ $WEB_TEST_REGEX ]]; then
28+
echo "run_web_tests=true" >> $GITHUB_OUTPUT
2929
fi
3030
3131
ci-dependency-unit-test:

0 commit comments

Comments
 (0)