Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/chore/cache-v4'
Browse files Browse the repository at this point in the history
  • Loading branch information
Dream-Master committed Sep 11, 2024
2 parents 1a206ab + 8d6c1cd commit 5168746
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
# load cached venv if cache exists
- name: Load cached venv
id: cached-poetry-dependencies
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: .venv
key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/nightly-modpack-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ jobs:
# load cached venv if cache exists
- name: Load cached venv
id: cached-poetry-dependencies
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: .venv
key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}
key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('poetry.lock', '*/poetry.lock') }}

# install dependencies if cache does not exist
- name: Install dependencies
Expand All @@ -59,7 +59,7 @@ jobs:
- name: Load cached mod zips
id: load_cache
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
with:
path: cache
key: daxxl-${{ runner.os }}-${{ steps.date.outputs.cachedate }}
Expand All @@ -76,7 +76,7 @@ jobs:
poetry run python -m gtnh.cli.assemble_nightly
- name: Save cached mod zips
uses: actions/cache/save@v3
uses: actions/cache/save@v4
if: success() || failure()
with:
path: cache
Expand Down

0 comments on commit 5168746

Please sign in to comment.