File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed
Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change 1515 name : " Builds binaries on ${{ matrix.os }}"
1616 steps :
1717 - uses : actions/checkout@v1
18+
1819 - uses : xmake-io/github-action-setup-xmake@v1
1920 with :
2021 xmake-version : branch@dev
2627 - name : Restore xmake packages
2728 uses : actions/cache@v4
2829 with :
29- path : ~/. xmake/.cache /packages
30+ path : ${{ github.workspace }}/ xmake-global/.xmake /packages
3031 key : ${{ runner.os }}-xmake-packages
3132
3233 - name : Install tools
4344 if : runner.os == 'Linux'
4445 run : xmake config -y -k ${{ env.TARGET_KIND }} -m coverage --ci-env=y
4546
47+ - name : Cache xmake packages
48+ uses : actions/cache@v4
49+ with :
50+ path : ${{ github.workspace }}/xmake-global/.xmake/packages
51+ key : ${{ runner.os }}-xmake-packages
52+
4653 - name : Build
4754 run : |
4855 xmake
@@ -112,12 +119,6 @@ jobs:
112119 path : |
113120 dist/lcui-examples
114121
115- - name : Cache xmake packages
116- uses : actions/cache@v4
117- with :
118- path : ~/.xmake/.cache/packages
119- key : ${{ runner.os }}-xmake-packages
120-
121122 release :
122123 if : startsWith(github.ref, 'refs/tags/v')
123124 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments