From 56ac98b8a5585178210f2fe503e1fb978501d5e3 Mon Sep 17 00:00:00 2001 From: YI Date: Wed, 6 Sep 2023 22:10:21 +0800 Subject: [PATCH] use ckb-c-stdlib as submodule fetch submodule in github actions --- .github/workflows/ci.yml | 4 +++- .gitmodules | 3 +++ include/ckb-c-stdlib | 1 + 3 files changed, 7 insertions(+), 1 deletion(-) create mode 160000 include/ckb-c-stdlib diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0a00dde..93588bb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,7 +9,9 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v4 + with: + submodules: true - uses: leafo/gh-actions-lua@v9 with: luaVersion: "5.4" diff --git a/.gitmodules b/.gitmodules index e69de29..f12c637 100644 --- a/.gitmodules +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "include/ckb-c-stdlib"] + path = include/ckb-c-stdlib + url = https://github.com/contrun/ckb-c-stdlib.git diff --git a/include/ckb-c-stdlib b/include/ckb-c-stdlib new file mode 160000 index 0000000..cf1624e --- /dev/null +++ b/include/ckb-c-stdlib @@ -0,0 +1 @@ +Subproject commit cf1624ef9fdf1ee5488f689746e2485ef9242e64