mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-16 11:33:30 +01:00
ci: use proper regex escapes
This commit is contained in:
4
.github/workflows/documentation.yml
vendored
4
.github/workflows/documentation.yml
vendored
@@ -87,7 +87,7 @@ jobs:
|
|||||||
id: package-name
|
id: package-name
|
||||||
uses: frabert/replace-string-action@v2.0
|
uses: frabert/replace-string-action@v2.0
|
||||||
with:
|
with:
|
||||||
pattern: '(^@.*\\/(?<package>.*)@v?)?(?<semver>\d+.\d+.\d+)-?.*'
|
pattern: '(^@.*\\/(?<package>.*)@v?)?(?<semver>\\d+.\\d+.\\d+)-?.*'
|
||||||
string: ${{ env.BRANCH_NAME }}
|
string: ${{ env.BRANCH_NAME }}
|
||||||
replace-with: '$<package>'
|
replace-with: '$<package>'
|
||||||
|
|
||||||
@@ -96,7 +96,7 @@ jobs:
|
|||||||
id: semver
|
id: semver
|
||||||
uses: frabert/replace-string-action@v2.0
|
uses: frabert/replace-string-action@v2.0
|
||||||
with:
|
with:
|
||||||
pattern: '(^@.*\\/(?<package>.*)@v?)?(?<semver>\d+.\d+.\d+)-?.*'
|
pattern: '(^@.*\\/(?<package>.*)@v?)?(?<semver>\\d+.\\d+.\\d+)-?.*'
|
||||||
string: ${{ env.BRANCH_NAME }}
|
string: ${{ env.BRANCH_NAME }}
|
||||||
replace-with: '$<semver>'
|
replace-with: '$<semver>'
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user