Skip to content

Commit 2ac9c50

Browse files
committed
Identify jetstream2-admin in actions/cache key.
1 parent 8394113 commit 2ac9c50

3 files changed

Lines changed: 7 additions & 5 deletions

File tree

.bumpversion.cfg

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,5 @@ tag = False
66
[bumpversion:file:README.md]
77

88
[bumpversion:file:start/action.yml]
9+
10+
[bumpversion:file:.github/workflows/shelve.yml]

.github/workflows/shelve.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ jobs:
2222
- uses: actions/cache@v3.3.1
2323
with:
2424
path: ~/.cache/pip
25-
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
25+
key: jetstream2-admin-${{ runner.os }}-pip-v1.2.1-${{ hashFiles('**/requirements.txt') }}
2626
restore-keys: |
27-
${{ runner.os }}-pip-
27+
jetstream2-admin-${{ runner.os }}-pip-
2828
- name: Install openstack
2929
run: python3 -m pip install -r code/start/requirements.txt
3030
- name: Shelve action runners

start/action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ inputs:
1414
runs:
1515
using: "composite"
1616
steps:
17-
- uses: actions/cache@v3.2.4
17+
- uses: actions/cache@v3.3.1
1818
with:
1919
path: ~/.cache/pip
20-
key: ${{ runner.os }}-pip-v1.2.1
20+
key: jetstream2-admin-${{ runner.os }}-pip-v1.2.1-${{ hashFiles('**/requirements.txt') }}
2121
restore-keys: |
22-
${{ runner.os }}-pip-
22+
jetstream2-admin-${{ runner.os }}-pip-
2323
- name: Install openstack
2424
run: python3 -m pip install -r ${{ github.action_path }}/requirements.txt
2525
shell: bash

0 commit comments

Comments
 (0)