Skip to content

Commit

Permalink
CI: upgrade actions/cache
Browse files Browse the repository at this point in the history
  • Loading branch information
ogoffart committed Nov 10, 2022
1 parent 5b6762e commit aec8af5
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/actions/install-nodejs/action.yaml
Original file line number Diff line number Diff line change
@@ -28,7 +28,7 @@ runs:
echo "node-version=$(node --version)" >> $GITHUB_OUTPUT
shell: bash
- name: Cache native node libraries
uses: actions/cache@v2
uses: actions/cache@v3
if: runner.os == 'Windows'
with:
path: ~/node-gyp/cache
4 changes: 2 additions & 2 deletions .github/workflows/build_docs.yaml
Original file line number Diff line number Diff line change
@@ -27,7 +27,7 @@ jobs:
echo "RUSTDOCFLAGS=$RUSTDOCFLAGS --extern-html-root-url rgb=https://docs.rs/rgb/$rgb_version/ -Z unstable-options" >> $GITHUB_ENV
- uses: ./.github/actions/install-nodejs
- name: Cache mdbook and mdbook-linkcheck
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
~/.cargo/bin/mdbook
@@ -48,7 +48,7 @@ jobs:
python -m pip install --upgrade pip
pip install --user pipenv
- name: Cache Pipenv virtualenv
uses: actions/cache@v2
uses: actions/cache@v3
id: pipenv-cache
with:
path: ~/.local/share/virtualenvs
4 changes: 2 additions & 2 deletions .github/workflows/wasm_editor_and_interpreter.yaml
Original file line number Diff line number Diff line change
@@ -48,7 +48,7 @@ jobs:
uses: actions/download-artifact@v3
with:
name: wasm
- uses: actions/cache@v2
- uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-${{ github.job }}-node-${{ hashFiles('api/wasm-interpreter/pkg/package.json', 'tools/lsp/pkg/package.json', 'tools/online_editor/package.json') }}
@@ -79,7 +79,7 @@ jobs:
uses: actions/download-artifact@v3
with:
name: wasm
- uses: actions/cache@v2
- uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-${{ github.job }}-node-${{ hashFiles('api/wasm-interpreter/pkg/package.json', 'tools/lsp/pkg/package.json', 'tools/online_editor/package.json') }}

0 comments on commit aec8af5

Please sign in to comment.