diff --git a/.github/workflows/docs-conda.yml b/.github/workflows/docs-conda.yml index 6311b6352..d030a3bd3 100644 --- a/.github/workflows/docs-conda.yml +++ b/.github/workflows/docs-conda.yml @@ -35,7 +35,7 @@ jobs: run: git fetch --depth=1 origin +refs/tags/*:refs/tags/* - name: Setup conda caching - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/conda_pkgs_dir key: conda-docs-${{ runner.os }}-${{ matrix.python-version}}-${{ hashFiles('ci/*') }} @@ -64,7 +64,7 @@ jobs: run: echo "::set-output name=dir::$(python -c 'import cartopy;print(cartopy.config["data_dir"])')" - name: Setup mapdata caching - uses: actions/cache@v3 + uses: actions/cache@v4 env: # Increase to reset cache of map data CACHE_NUMBER: 0 diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index ccd5f7abb..21e01a0f1 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -58,7 +58,7 @@ jobs: run: echo "::set-output name=dir::$(pip cache dir)" - name: Setup pip cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ${{ steps.pip-cache.outputs.dir }} key: pip-docs-${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('ci/*') }} @@ -85,7 +85,7 @@ jobs: run: echo "::set-output name=dir::$(python -c 'import cartopy;print(cartopy.config["data_dir"])')" - name: Setup mapdata caching - uses: actions/cache@v3 + uses: actions/cache@v4 env: # Increase to reset cache of map data CACHE_NUMBER: 0 diff --git a/.github/workflows/tests-conda.yml b/.github/workflows/tests-conda.yml index 6a0f962a4..1f8a928c1 100644 --- a/.github/workflows/tests-conda.yml +++ b/.github/workflows/tests-conda.yml @@ -34,7 +34,7 @@ jobs: run: git fetch --depth=1 origin +refs/tags/*:refs/tags/* - name: Setup conda caching - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/conda_pkgs_dir key: conda-tests-${{ runner.os }}-${{ matrix.python-version}}-${{ hashFiles('ci/*') }} diff --git a/.github/workflows/tests-pypi.yml b/.github/workflows/tests-pypi.yml index 2329ee82a..c9e2a2d6a 100644 --- a/.github/workflows/tests-pypi.yml +++ b/.github/workflows/tests-pypi.yml @@ -53,7 +53,7 @@ jobs: run: echo "::set-output name=dir::$(pip cache dir)" - name: Setup caching - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ${{ steps.pip-cache.outputs.dir }} key: pip-tests-${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('ci/*') }}