From f228a72f6cd89ac138231c05c19a19c31e2d1dec Mon Sep 17 00:00:00 2001 From: mvdbeek Date: Thu, 4 Jan 2024 21:48:35 +0100 Subject: [PATCH] Add name attribuite to cache actions --- .github/workflows/build_client.yaml | 3 ++- .github/workflows/first_startup.yaml | 3 ++- .github/workflows/integration_selenium.yaml | 3 ++- .github/workflows/osx_startup.yaml | 3 ++- .github/workflows/selenium.yaml | 3 ++- 5 files changed, 10 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build_client.yaml b/.github/workflows/build_client.yaml index a152a2f135ee..0709ff949188 100644 --- a/.github/workflows/build_client.yaml +++ b/.github/workflows/build_client.yaml @@ -20,7 +20,8 @@ jobs: shell: bash run: echo "commit=$(git rev-parse HEAD 2>/dev/null)" >> $GITHUB_OUTPUT working-directory: 'galaxy root' - - uses: actions/cache@v3 + - name: cache client build + uses: actions/cache@v3 id: cache with: key: galaxy-static-${{ steps.client-commit.outputs.commit }} diff --git a/.github/workflows/first_startup.yaml b/.github/workflows/first_startup.yaml index 683230575b84..47c845bb878b 100644 --- a/.github/workflows/first_startup.yaml +++ b/.github/workflows/first_startup.yaml @@ -55,7 +55,8 @@ jobs: with: path: .tox key: tox-cache-${{ runner.os }}-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('galaxy root/requirements.txt') }}-first-startup - - uses: actions/cache@v3 + - name: Restore client cache + uses: actions/cache@v3 with: key: galaxy-static-${{ needs.build-client.outputs.commit-id }} path: 'galaxy root/static' diff --git a/.github/workflows/integration_selenium.yaml b/.github/workflows/integration_selenium.yaml index 4f31f81f2611..d294d91f9902 100644 --- a/.github/workflows/integration_selenium.yaml +++ b/.github/workflows/integration_selenium.yaml @@ -73,7 +73,8 @@ jobs: node-version: '18.12.1' cache: 'yarn' cache-dependency-path: 'galaxy root/client/yarn.lock' - - uses: actions/cache@v3 + - name: Restore client cache + uses: actions/cache@v3 with: key: galaxy-static-${{ needs.build-client.outputs.commit-id }} path: 'galaxy root/static' diff --git a/.github/workflows/osx_startup.yaml b/.github/workflows/osx_startup.yaml index 6e7532c13158..8271f0bd4cd7 100644 --- a/.github/workflows/osx_startup.yaml +++ b/.github/workflows/osx_startup.yaml @@ -53,7 +53,8 @@ jobs: uses: conda-incubator/setup-miniconda@v2 with: activate-environment: '' - - uses: actions/cache@v3 + - name: Restore client cache + uses: actions/cache@v3 with: key: galaxy-static-${{ needs.build-client.outputs.commit-id }} path: 'galaxy root/static' diff --git a/.github/workflows/selenium.yaml b/.github/workflows/selenium.yaml index 89623f949408..2d2d30ee56d6 100644 --- a/.github/workflows/selenium.yaml +++ b/.github/workflows/selenium.yaml @@ -73,7 +73,8 @@ jobs: with: path: 'galaxy root/.venv' key: gxy-venv-${{ runner.os }}-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('galaxy root/requirements.txt') }}-selenium - - uses: actions/cache@v3 + - name: Restore client cache + uses: actions/cache@v3 with: key: galaxy-static-${{ needs.build-client.outputs.commit-id }} path: 'galaxy root/static'