[ci] Bump actions/checkout to v4 (#5736)

Co-authored-by: Ryan Blue <ryanzblue@gmail.com>
This commit is contained in:
David Vo
2023-12-01 16:09:56 +11:00
committed by GitHub
parent ca684ac207
commit 9fa28eb07a
8 changed files with 24 additions and 21 deletions

View File

@@ -37,7 +37,7 @@ jobs:
large-packages: false
docker-images: false
swap-storage: false
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set release environment variable
@@ -109,7 +109,7 @@ jobs:
name: "Build - ${{ matrix.artifact-name }}"
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-java@v3
@@ -168,7 +168,7 @@ jobs:
name: "Build - Documentation"
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-java@v3
@@ -206,7 +206,7 @@ jobs:
large-packages: false
docker-images: false
swap-storage: false
- uses: actions/checkout@v3
- uses: actions/checkout@v4
if: |
github.repository_owner == 'wpilibsuite' &&
(github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v'))