Skip to content

Commit

Permalink
修复 regex
Browse files Browse the repository at this point in the history
  • Loading branch information
FeignClaims committed Mar 9, 2024
1 parent 339e263 commit b0d86cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,13 @@ jobs:
- name: Replace vscode-cpp-starter.readthedocs.io/ to cpp_tutorial.gitee.io/vscode_cpp_starter/
uses: jacobtomlinson/gha-find-replace@v3
with:
find: "vscode-cpp-starter.readthedocs.io/(?!objects.inv)"
find: "vscode-cpp-starter.readthedocs.io/(?<!objects.inv)"
replace: "cpp_tutorial.gitee.io/vscode_cpp_starter/"

- name: Replace change-major-exam.readthedocs.io/ to cpp_tutorial.gitee.io/change_major_exam/
uses: jacobtomlinson/gha-find-replace@v3
with:
find: "change-major-exam.readthedocs.io/(?!objects.inv)"
find: "change-major-exam.readthedocs.io/(?<!objects.inv)"
replace: "cpp_tutorial.gitee.io/change_major_exam/"

- name: Build docs
Expand Down

0 comments on commit b0d86cc

Please sign in to comment.