Skip to content

Commit

Permalink
Update unittests.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
GsLogiMaker committed May 17, 2024
1 parent d351f47 commit 9e2d174
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/unittests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
# A list of files, directories, and wildcard patterns to cache and restore
path: ./addons/glecs/bin/${{ matrix.target }}/release/${{ matrix.glecs_lib }}
# An explicit key for restoring and saving the cache
key: glecslib.${{ matrix.target }}.${{ hashFiles('/addons/glecs/bin/') }}
key: glecslib.${{ matrix.target }}.${{ hashFiles('**/lockfiles') }}

- name: Move lib
run: |
Expand Down Expand Up @@ -137,8 +137,7 @@ jobs:
uses: actions/cache/[email protected]
with:
path: ./addons/glecs/bin/${{ matrix.target }}/release/${{ matrix.glecs_lib }}
key: glecslib.${{ matrix.target }}
restore-keys: glecslib.${{ matrix.target }}
key: glecslib.${{ matrix.target }}-${{ hashFiles('**/lockfiles') }}

- name: Move lib
run: |
Expand All @@ -163,7 +162,7 @@ jobs:
run: |
godot -s res://addons/gut/gut_cmdln.gd --headless -gdir="res://unittests" -gexit
update_nightly:
needs: compile_glecs

Expand Down

0 comments on commit 9e2d174

Please sign in to comment.