diff --git a/.github/workflows/dr_rs.yml b/.github/workflows/dr_rs.yml index 585af56..c6192ed 100644 --- a/.github/workflows/dr_rs.yml +++ b/.github/workflows/dr_rs.yml @@ -32,13 +32,19 @@ jobs: steps: # Check-out repository - name: Check out - uses: actions/checkout@v3 + uses: actions/checkout@v4 + + # check out submodule + - name: init submodule + run: | + git submodule init + git submodule update # 缓存 Rust 构建 - name: Cache rust uses: Swatinem/rust-cache@v2 with: - workspace: mods/dr_game/Difficult_Rocket_rs + workspaces: mods/dr_game/Difficult_Rocket_rs key: dr_rs-v1 # 获取短 sha diff --git a/.github/workflows/nuitka.yml b/.github/workflows/nuitka.yml index 455f64e..34d69aa 100644 --- a/.github/workflows/nuitka.yml +++ b/.github/workflows/nuitka.yml @@ -36,7 +36,13 @@ jobs: steps: # Check-out repository - name: Check out - uses: actions/checkout@v3 + uses: actions/checkout@v4 + + # 初始化子模块 + - name: Init submodules + run: | + git submodule init + git submodule update # 安装 Python - name: Setup Python ${{ matrix.python-version }} diff --git a/.gitmodules b/.gitmodules index 6d3f32c..7834ecd 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,6 @@ [submodule "libs/lib_not_dr"] path = libs/lib_not_dr url = git@github.com:shenjackyuanjie/lib-not-dr.git +[submodule "libs/pyglet"] + path = libs/pyglet + url = git@github.com:shenjackyuanjie/pyglet.git diff --git a/libs/pyglet b/libs/pyglet new file mode 160000 index 0000000..2782612 --- /dev/null +++ b/libs/pyglet @@ -0,0 +1 @@ +Subproject commit 2782612aa98fa435958406bcf22f6bb385bf065c