mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2025-09-10 12:35:03 +02:00
chore(deps): update actions/cache action to v4
This commit is contained in:
parent
8f186cd770
commit
16153625d1
4 changed files with 9 additions and 9 deletions
|
@ -33,7 +33,7 @@ runs:
|
||||||
echo "version=$(rustup --version)" >> $GITHUB_OUTPUT
|
echo "version=$(rustup --version)" >> $GITHUB_OUTPUT
|
||||||
- name: Cache rustup toolchains
|
- name: Cache rustup toolchains
|
||||||
if: steps.rustup-version.outputs.version == ''
|
if: steps.rustup-version.outputs.version == ''
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
~/.rustup
|
~/.rustup
|
||||||
|
|
|
@ -20,7 +20,7 @@ runs:
|
||||||
steps:
|
steps:
|
||||||
- name: Cache timelord-cli installation
|
- name: Cache timelord-cli installation
|
||||||
id: cache-timelord-bin
|
id: cache-timelord-bin
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: ~/.cargo/bin/timelord
|
path: ~/.cargo/bin/timelord
|
||||||
key: timelord-cli-v3.0.1
|
key: timelord-cli-v3.0.1
|
||||||
|
@ -32,7 +32,7 @@ runs:
|
||||||
if: steps.cache-timelord-bin.outputs.cache-hit != 'true'
|
if: steps.cache-timelord-bin.outputs.cache-hit != 'true'
|
||||||
|
|
||||||
- name: Load timelord files
|
- name: Load timelord files
|
||||||
uses: actions/cache/restore@v3
|
uses: actions/cache/restore@v4
|
||||||
with:
|
with:
|
||||||
path: /timelord/
|
path: /timelord/
|
||||||
key: ${{ inputs.key }}
|
key: ${{ inputs.key }}
|
||||||
|
@ -40,7 +40,7 @@ runs:
|
||||||
shell: bash
|
shell: bash
|
||||||
run: timelord sync --source-dir ${{ inputs.path }} --cache-dir /timelord/
|
run: timelord sync --source-dir ${{ inputs.path }} --cache-dir /timelord/
|
||||||
- name: Save timelord
|
- name: Save timelord
|
||||||
uses: actions/cache/save@v3
|
uses: actions/cache/save@v4
|
||||||
with:
|
with:
|
||||||
path: /timelord/
|
path: /timelord/
|
||||||
key: ${{ inputs.key }}
|
key: ${{ inputs.key }}
|
||||||
|
|
|
@ -60,7 +60,7 @@ jobs:
|
||||||
node-version: 22
|
node-version: 22
|
||||||
|
|
||||||
- name: Cache npm dependencies
|
- name: Cache npm dependencies
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: ~/.npm
|
path: ~/.npm
|
||||||
key: ${{ steps.runner-env.outputs.slug }}-node-${{ hashFiles('**/package-lock.json') }}
|
key: ${{ steps.runner-env.outputs.slug }}-node-${{ hashFiles('**/package-lock.json') }}
|
||||||
|
|
|
@ -157,7 +157,7 @@ jobs:
|
||||||
|
|
||||||
- name: Cache Rust registry
|
- name: Cache Rust registry
|
||||||
if: ${{ env.BUILDKIT_ENDPOINT == '' }}
|
if: ${{ env.BUILDKIT_ENDPOINT == '' }}
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
.cargo/git
|
.cargo/git
|
||||||
|
@ -168,7 +168,7 @@ jobs:
|
||||||
- name: Cache cargo target
|
- name: Cache cargo target
|
||||||
if: ${{ env.BUILDKIT_ENDPOINT == '' }}
|
if: ${{ env.BUILDKIT_ENDPOINT == '' }}
|
||||||
id: cache-cargo-target
|
id: cache-cargo-target
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
cargo-target-${{ matrix.target_cpu }}-${{ matrix.slug }}-${{ matrix.profile }}
|
cargo-target-${{ matrix.target_cpu }}-${{ matrix.slug }}-${{ matrix.profile }}
|
||||||
|
@ -176,7 +176,7 @@ jobs:
|
||||||
- name: Cache apt cache
|
- name: Cache apt cache
|
||||||
if: ${{ env.BUILDKIT_ENDPOINT == '' }}
|
if: ${{ env.BUILDKIT_ENDPOINT == '' }}
|
||||||
id: cache-apt
|
id: cache-apt
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
var-cache-apt-${{ matrix.slug }}
|
var-cache-apt-${{ matrix.slug }}
|
||||||
|
@ -184,7 +184,7 @@ jobs:
|
||||||
- name: Cache apt lib
|
- name: Cache apt lib
|
||||||
if: ${{ env.BUILDKIT_ENDPOINT == '' }}
|
if: ${{ env.BUILDKIT_ENDPOINT == '' }}
|
||||||
id: cache-apt-lib
|
id: cache-apt-lib
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
var-lib-apt-${{ matrix.slug }}
|
var-lib-apt-${{ matrix.slug }}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue