diff --git a/.github/workflows/lint-and-test.yml b/.github/workflows/lint-and-test.yml index f1c210a6..bdcbfa28 100644 --- a/.github/workflows/lint-and-test.yml +++ b/.github/workflows/lint-and-test.yml @@ -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') }} diff --git a/.github/workflows/nightly-modpack-build.yml b/.github/workflows/nightly-modpack-build.yml index d9026308..461fb13b 100644 --- a/.github/workflows/nightly-modpack-build.yml +++ b/.github/workflows/nightly-modpack-build.yml @@ -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 @@ -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 }} @@ -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