Skip to content

Commit

Permalink
Updated actions/checkout from v3 to v4
Browse files Browse the repository at this point in the history
  • Loading branch information
ggtakec authored and gaul committed Feb 7, 2024
1 parent 517574c commit a7186b6
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,17 @@ jobs:
run: |
if [ "${{ matrix.container }}" = "opensuse/leap:15" ]; then zypper install -y tar gzip; fi
- name: Checkout source code
# [NOTE]
# actions/checkout@v3 uses nodejs v16 and will be deprecated.
# However, @v4 does not work on centos7 depending on the glibc version,
# so we will continue to use @v3.
#
- name: Checkout source code(other than centos7)
if: matrix.container != 'centos:centos7'
uses: actions/checkout@v4

- name: Checkout source code(only centos7)
if: matrix.container == 'centos:centos7'
uses: actions/checkout@v3

# [NOTE]
Expand Down Expand Up @@ -139,7 +149,7 @@ jobs:

steps:
- name: Checkout source code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Brew tap
run: |
Expand Down Expand Up @@ -221,7 +231,7 @@ jobs:

steps:
- name: Checkout source code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install packages
run: |
Expand Down

0 comments on commit a7186b6

Please sign in to comment.