File tree Expand file tree Collapse file tree 1 file changed +29
-4
lines changed
Expand file tree Collapse file tree 1 file changed +29
-4
lines changed Original file line number Diff line number Diff line change 99 - main
1010
1111jobs :
12- tests :
13- runs-on : windows -latest
12+ setup :
13+ runs-on : ubuntu -latest
1414
1515 steps :
1616 - name : Checkout repository
4747 unzip -o "$outputFile" -d ./tests
4848 rm -f "$outputFile"
4949
50+ - name : Cache tests folder
51+ uses : actions/cache@v4
52+ with :
53+ path : ./tests
54+ key : tests-${{ runner.os }}-${{ hashFiles('**/latest.win64') }}
55+ restore-keys : |
56+ tests-${{ runner.os }}-
57+
58+ tests :
59+ runs-on : windows-latest
60+ needs : setup
61+
62+ steps :
63+ - name : Checkout repository
64+ 65+
66+ - name : Restore tests folder from cache
67+ uses : actions/cache@v4
68+ with :
69+ path : ./tests
70+ key : tests-${{ runner.os }}-${{ hashFiles('**/*.exe') }}
71+ restore-keys : |
72+ tests-${{ runner.os }}-
73+
5074 - name : Run tests
75+ shell : bash
5176 run : |
52- cd ./ tests
53- ls
77+ echo "Contents of the tests folder:"
78+ ls -R ./tests
You can’t perform that action at this time.
0 commit comments