Skip to content

Commit

Permalink
Update cache github action to use Node 20 (#17469)
Browse files Browse the repository at this point in the history
  • Loading branch information
iliakur committed Apr 29, 2024
1 parent a58b4f1 commit c5750bc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-deps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ jobs:
- name: Cache builder root
id: cache-builder-root
uses: actions/cache@v3.3.3
uses: actions/cache@v4
with:
path: |
~/builder_root
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cache-shared-deps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
python-version: "${{ env.PYTHON_VERSION }}"

- name: Check cache
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
id: cache
with:
path: ${{ runner.os == 'Windows' && '~\AppData\Local\pip\Cache' || runner.os == 'macOS' && '~/Library/Caches/pip' || '~/.cache/pip' }}
Expand Down Expand Up @@ -68,7 +68,7 @@ jobs:
run: pip install ./datadog_checks_base[deps] ./datadog_checks_dev

- name: Cache dependencies
uses: actions/cache/save@v3
uses: actions/cache/save@v4
if: steps.cache.outputs.cache-hit != 'true'
with:
path: ${{ runner.os == 'Windows' && '~\AppData\Local\pip\Cache' || runner.os == 'macOS' && '~/Library/Caches/pip' || '~/.cache/pip' }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-target.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ jobs:

- name: Restore cache
if: inputs.repo == 'core'
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
with:
path: ${{ runner.os == 'Windows' && '~\AppData\Local\pip\Cache' || runner.os == 'macOS' && '~/Library/Caches/pip' || '~/.cache/pip' }}
key: >-
Expand Down

0 comments on commit c5750bc

Please sign in to comment.