File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed
Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change 1212 if : startsWith(github.ref, 'refs/tags/')
1313 runs-on : ubuntu-latest
1414 steps :
15- - uses : actions/checkout@master
15+ - uses : actions/checkout@v4
1616 # https://github.com/taiki-e/create-gh-release-action
1717 - uses : taiki-e/create-gh-release-action@v1
1818 with :
@@ -41,10 +41,18 @@ jobs:
4141 - target : x86_64-pc-windows-msvc
4242 os : windows-latest
4343 steps :
44- - uses : actions/checkout@master
44+ - uses : actions/checkout@v4
4545 with :
4646 submodules : recursive # 递归检出git子模块(submodules)
4747
48+ - name : Cache
49+ id : cache
50+ uses : actions/cache@v3
51+ with :
52+ path : |
53+ ./target
54+ key : ${{ matrix.os }}-${{ matrix.target }}-cache
55+
4856 # 安装交叉编译工具链: https://github.com/taiki-e/setup-cross-toolchain-action
4957 # 如果安装 target 对应的工具链, 则下一步不会再安装并调用 cross 创建容器来编译, 可大幅缩短构建时间
5058 - name : Install cross-compilation tools
You can’t perform that action at this time.
0 commit comments