mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2025-12-01 08:37:17 +00:00
Merge pull request #193 from FunkinCrew/rewrite/fix-ci-clear-cache-when-deps-change
fix: cache needs to be manually cleared when dependency versions change
This commit is contained in:
commit
729e6cc9fe
2
.github/actions/setup-haxeshit/action.yml
vendored
2
.github/actions/setup-haxeshit/action.yml
vendored
|
|
@ -23,8 +23,6 @@ runs:
|
||||||
with:
|
with:
|
||||||
path: .haxelib
|
path: .haxelib
|
||||||
key: ${{ runner.os }}-hmm-${{ hashFiles('**/hmm.json') }}
|
key: ${{ runner.os }}-hmm-${{ hashFiles('**/hmm.json') }}
|
||||||
restore-keys: |
|
|
||||||
${{ runner.os }}-hmm-
|
|
||||||
- if: ${{ steps.cache-hmm.outputs.cache-hit != 'true' }}
|
- if: ${{ steps.cache-hmm.outputs.cache-hit != 'true' }}
|
||||||
name: hmm install
|
name: hmm install
|
||||||
run: |
|
run: |
|
||||||
|
|
|
||||||
9
.github/workflows/build-shit.yml
vendored
9
.github/workflows/build-shit.yml
vendored
|
|
@ -53,9 +53,8 @@ jobs:
|
||||||
token: ${{ secrets.GH_RO_PAT }}
|
token: ${{ secrets.GH_RO_PAT }}
|
||||||
- uses: ./.github/actions/setup-haxeshit
|
- uses: ./.github/actions/setup-haxeshit
|
||||||
- name: Make HXCPP cache dir
|
- name: Make HXCPP cache dir
|
||||||
shell: bash
|
|
||||||
run: |
|
run: |
|
||||||
mkdir -p ${{ runner.temp }}\\hxcpp_cache
|
mkdir -p ${{ runner.temp }}\hxcpp_cache
|
||||||
- name: Restore build cache
|
- name: Restore build cache
|
||||||
id: cache-build-win
|
id: cache-build-win
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
|
|
@ -63,10 +62,8 @@ jobs:
|
||||||
path: |
|
path: |
|
||||||
.haxelib
|
.haxelib
|
||||||
export
|
export
|
||||||
${{ runner.temp }}\\hxcpp_cache
|
${{ runner.temp }}\hxcpp_cache
|
||||||
key: ${{ runner.os }}-build-win-${{ github.ref_name }}
|
key: ${{ runner.os }}-build-win-${{ github.ref_name }}-${{ hashFiles('**/hmm.json') }}
|
||||||
restore-keys: |
|
|
||||||
${{ runner.os }}-build-win-
|
|
||||||
- name: Build game
|
- name: Build game
|
||||||
run: |
|
run: |
|
||||||
haxelib run lime build windows -release -DNO_REDIRECT_ASSETS_FOLDER
|
haxelib run lime build windows -release -DNO_REDIRECT_ASSETS_FOLDER
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue