Skip to content

Commit 806382c

Browse files
committed
Upgrade to checkout@v4.
1 parent 097f423 commit 806382c

4 files changed

Lines changed: 9 additions & 8 deletions

File tree

.github/workflows/build-dev-gls.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ jobs:
1414

1515
steps:
1616
- name: "Checkout repo"
17-
uses: actions/checkout@v2
17+
uses: actions/checkout@v4
1818
with:
1919
submodules: recursive
2020
fetch-depth: 0
2121
- name: "Checkout gh-pages branch"
22-
uses: actions/checkout@v2
22+
uses: actions/checkout@v4
2323
with:
2424
ref: gh-pages
2525
path: gh-pages

.github/workflows/build-dev-schema.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ jobs:
1414

1515
steps:
1616
- name: "Checkout repo"
17-
uses: actions/checkout@v2
17+
uses: actions/checkout@v4
1818
with:
1919
submodules: recursive
2020
fetch-depth: 0
2121
- name: "Checkout gh-pages branch"
22-
uses: actions/checkout@v2
22+
uses: actions/checkout@v4
2323
with:
2424
ref: gh-pages
2525
path: gh-pages

.github/workflows/build-release.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,20 @@ jobs:
1616
run: |
1717
export RELEASE_VERSION=${GITHUB_REF#refs/*/}
1818
echo "RELEASE_VERSION=$RELEASE_VERSION" >> $GITHUB_ENV
19+
sh -c "git config --global --add safe.directory $PWD"
1920
- name: "Checkout repo"
20-
uses: actions/checkout@v3
21+
uses: actions/checkout@v4
2122
with:
2223
submodules: recursive
2324
fetch-depth: 0
2425
- run: git checkout ${{ env.RELEASE_VERSION }}
2526
- name: "Checkout gh-pages branch"
26-
uses: actions/checkout@v3
27+
uses: actions/checkout@v4
2728
with:
2829
ref: gh-pages
2930
path: gh-pages
3031
- name: "Checkout latest branch"
31-
uses: actions/checkout@v3
32+
uses: actions/checkout@v4
3233
with:
3334
fetch-depth: 0
3435
ref: latest

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: "Checkout repo"
1717
uses: actions/checkout@v2
1818
- name: "Checkout gh-pages branch"
19-
uses: actions/checkout@v2
19+
uses: actions/checkout@v4
2020
with:
2121
ref: gh-pages
2222
path: gh-pages

0 commit comments

Comments
 (0)