Skip to content

Commit

Permalink
Add name attribuite to cache actions
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdbeek committed Jan 4, 2024
1 parent 7497074 commit f228a72
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build_client.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/first_startup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/integration_selenium.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/osx_startup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/selenium.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit f228a72

Please sign in to comment.