Skip to content

Commit

Permalink
🐛 chore: cache depends on git sha
Browse files Browse the repository at this point in the history
  • Loading branch information
Zerohertz committed Oct 31, 2024
1 parent 5fc95c8 commit 32aed27
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/cicd-pr-dev-master.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ jobs:
uses: actions/cache@v4
with:
path: venv
key: ${{ runner.os }}-python-venv
key: ${{ runner.os }}-python-venv-${{ github.sha }}
restore-keys: |
${{ runner.os }}-python-venv-
Expand Down Expand Up @@ -116,7 +116,7 @@ jobs:
uses: actions/cache@v4
with:
path: venv
key: ${{ runner.os }}-python-venv
key: ${{ runner.os }}-python-venv-${{ github.sha }}
restore-keys: |
${{ runner.os }}-python-venv-
Expand Down Expand Up @@ -157,7 +157,7 @@ jobs:
uses: actions/cache@v4
with:
path: venv
key: ${{ runner.os }}-python-venv
key: ${{ runner.os }}-python-venv-${{ github.sha }}
restore-keys: |
${{ runner.os }}-python-venv-
Expand Down Expand Up @@ -215,7 +215,7 @@ jobs:
uses: actions/cache@v4
with:
path: venv
key: ${{ runner.os }}-python-venv
key: ${{ runner.os }}-python-venv-${{ github.sha }}
restore-keys: |
${{ runner.os }}-python-venv-
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/cicd-push-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
uses: actions/cache@v4
with:
path: venv
key: ${{ runner.os }}-python-venv
key: ${{ runner.os }}-python-venv-${{ github.sha }}
restore-keys: |
${{ runner.os }}-python-venv-
Expand Down Expand Up @@ -91,7 +91,7 @@ jobs:
uses: actions/cache@v4
with:
path: venv
key: ${{ runner.os }}-python-venv
key: ${{ runner.os }}-python-venv-${{ github.sha }}
restore-keys: |
${{ runner.os }}-python-venv-
Expand Down Expand Up @@ -132,7 +132,7 @@ jobs:
uses: actions/cache@v4
with:
path: venv
key: ${{ runner.os }}-python-venv
key: ${{ runner.os }}-python-venv-${{ github.sha }}
restore-keys: |
${{ runner.os }}-python-venv-
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/cicd-push-master.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
uses: actions/cache@v4
with:
path: venv
key: ${{ runner.os }}-python-venv
key: ${{ runner.os }}-python-venv-${{ github.sha }}
restore-keys: |
${{ runner.os }}-python-venv-
Expand Down Expand Up @@ -76,7 +76,7 @@ jobs:
uses: actions/cache@v4
with:
path: venv
key: ${{ runner.os }}-python-venv
key: ${{ runner.os }}-python-venv-${{ github.sha }}
restore-keys: |
${{ runner.os }}-python-venv-
Expand Down Expand Up @@ -172,7 +172,7 @@ jobs:
uses: actions/cache@v4
with:
path: venv
key: ${{ runner.os }}-python-venv
key: ${{ runner.os }}-python-venv-${{ github.sha }}
restore-keys: |
${{ runner.os }}-python-venv-
Expand Down

0 comments on commit 32aed27

Please sign in to comment.