From 9ef7ffdc6dc8eb9466f77344f9356d9027bf7a19 Mon Sep 17 00:00:00 2001 From: iCrawl Date: Sun, 17 Apr 2022 20:07:19 +0200 Subject: [PATCH] ci: use proper regex escapes --- .github/workflows/documentation.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index e01ab7c05..27f6fbbfd 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -87,7 +87,7 @@ jobs: id: package-name uses: frabert/replace-string-action@v2.0 with: - pattern: '(^@.*\\/(?.*)@v?)?(?\d+.\d+.\d+)-?.*' + pattern: '(^@.*\\/(?.*)@v?)?(?\\d+.\\d+.\\d+)-?.*' string: ${{ env.BRANCH_NAME }} replace-with: '$' @@ -96,7 +96,7 @@ jobs: id: semver uses: frabert/replace-string-action@v2.0 with: - pattern: '(^@.*\\/(?.*)@v?)?(?\d+.\d+.\d+)-?.*' + pattern: '(^@.*\\/(?.*)@v?)?(?\\d+.\\d+.\\d+)-?.*' string: ${{ env.BRANCH_NAME }} replace-with: '$'