Skip to content

Commit

Permalink
Upgrade to checkout@v4.
Browse files Browse the repository at this point in the history
  • Loading branch information
hcayless committed Mar 20, 2024
1 parent 097f423 commit 806382c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-dev-gls.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ jobs:

steps:
- name: "Checkout repo"
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0
- name: "Checkout gh-pages branch"
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
ref: gh-pages
path: gh-pages
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-dev-schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ jobs:

steps:
- name: "Checkout repo"
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0
- name: "Checkout gh-pages branch"
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
ref: gh-pages
path: gh-pages
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,20 @@ jobs:
run: |
export RELEASE_VERSION=${GITHUB_REF#refs/*/}
echo "RELEASE_VERSION=$RELEASE_VERSION" >> $GITHUB_ENV
sh -c "git config --global --add safe.directory $PWD"
- name: "Checkout repo"
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0
- run: git checkout ${{ env.RELEASE_VERSION }}
- name: "Checkout gh-pages branch"
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: gh-pages
path: gh-pages
- name: "Checkout latest branch"
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: latest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: "Checkout repo"
uses: actions/checkout@v2
- name: "Checkout gh-pages branch"
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
ref: gh-pages
path: gh-pages
Expand Down

0 comments on commit 806382c

Please sign in to comment.