File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed
Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change 1515 runs-on : ubuntu-latest
1616 steps :
1717 - uses : actions/checkout@v2
18+ - name : Cache libs
19+ id : cache-libs
20+ uses : actions/cache@v3
21+ with :
22+ path : |
23+ libs
24+ winlibs
25+ key : ${{ runner.os }}-${{ env.luajit_ver }}-${{ env.iconv_ver }}
26+
1827 - name : Install Packages
1928 run : |
2029 sudo apt-get update -qq
2736 git submodule update
2837 mkdir libs winlibs
2938
30- - name : luajit
39+ - if : ${{ steps.cache-libs.outputs.cache-hit != 'true' }}
40+ name : luajit
3141 run : |
3242 wget https://luajit.org/download/LuaJIT-${{ env.luajit_ver }}.tar.gz
3343 tar xf LuaJIT-${{ env.luajit_ver }}.tar.gz
4454 cp src/$f ../libs/
4555 done
4656
47- - name : libiconv
57+ - if : ${{ steps.cache-libs.outputs.cache-hit != 'true' }}
58+ name : libiconv
4859 run : |
4960 wget https://ftp.gnu.org/gnu/libiconv/libiconv-${{ env.iconv_ver }}.tar.gz
5061 tar xvf libiconv-${{ env.iconv_ver }}.tar.gz
You can’t perform that action at this time.
0 commit comments