diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 032e561..694c9ce 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -16,7 +16,7 @@ jobs: - name: NeoForge Kits Cache uses: actions/cache@v4 with: - path: Kits + path: ~/Kits key: ${{ runner.os }}-Kits-${{ hashFiles('snapshot_version') }} restore-keys: | ${{ runner.os }}-Kits- diff --git a/.scripts/compile_kits.sh b/.scripts/compile_kits.sh index 9b8a12f..e516a7c 100755 --- a/.scripts/compile_kits.sh +++ b/.scripts/compile_kits.sh @@ -11,7 +11,6 @@ MC_VERSION=$(cat snapshot_version 2>/dev/null) if [[ $MC_VERSION == *"w"** ]]; then branch=port/${MC_VERSION} echo "Detected MC snapshot ${MC_VERSION}" - cd $(mktemp -d) echo "Downloading Kits ${branch}..." git clone -q -b ${branch} --depth 1 https://github.com/neoforged/NeoForge Kits >/dev/null cd Kits