mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-19 10:51:34 +08:00
Add name attribuite to cache actions
This commit is contained in:
@@ -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 }}
|
||||
|
||||
@@ -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'
|
||||
|
||||
@@ -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'
|
||||
|
||||
@@ -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'
|
||||
|
||||
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user