From b3f8fa1531c3106f46c0a8990f375e70cd57deee Mon Sep 17 00:00:00 2001 From: Dynesshely Date: Mon, 26 Feb 2024 01:31:07 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20Chore(Actions):=20Try=20to=20use?= =?UTF-8?q?=20`checkout`=20to=20run=20git=20command=20with=20default=20tok?= =?UTF-8?q?en.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build-loaders.yml | 6 +++--- .github/workflows/build-plugins.yml | 6 +++--- .github/workflows/build.yml | 6 +++--- .github/workflows/publish-packages.yml | 12 ++++++------ 4 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/build-loaders.yml b/.github/workflows/build-loaders.yml index 2dd0ea9..23effcc 100644 --- a/.github/workflows/build-loaders.yml +++ b/.github/workflows/build-loaders.yml @@ -32,9 +32,9 @@ jobs: dotnet-version: | 8.0.x - - name: Setup Sub-submodules in `KitX SDK` - working-directory: "KitX SDK" - run: | + - uses: actions/checkout@v4 + - run: | + cd "KitX SDK" git submodule update --init --recursive - name: Build Loaders diff --git a/.github/workflows/build-plugins.yml b/.github/workflows/build-plugins.yml index 6d60962..b5d84c8 100644 --- a/.github/workflows/build-plugins.yml +++ b/.github/workflows/build-plugins.yml @@ -32,9 +32,9 @@ jobs: dotnet-version: | 8.0.x - - name: Setup Sub-submodules in `KitX SDK` - working-directory: "KitX SDK" - run: | + - uses: actions/checkout@v4 + - run: | + cd "KitX SDK" git submodule update --init --recursive - name: Build Plugins diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a00d72e..e058055 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -36,9 +36,9 @@ jobs: dotnet-version: | 8.0.x - - name: Setup Sub-submodules in `KitX Standard` - working-directory: "KitX Standard" - run: | + - uses: actions/checkout@v4 + - run: | + cd "KitX Standard" git submodule update --init --recursive - name: Build Contracts diff --git a/.github/workflows/publish-packages.yml b/.github/workflows/publish-packages.yml index 3229e3a..84cde4c 100644 --- a/.github/workflows/publish-packages.yml +++ b/.github/workflows/publish-packages.yml @@ -26,14 +26,14 @@ jobs: dotnet-version: | 8.0.x - - name: Setup Sub-submodules in `KitX Standard` - working-directory: "KitX Standard" - run: | + - uses: actions/checkout@v4 + - run: | + cd "KitX Standard" git submodule update --init --recursive - - name: Setup Sub-submodules in `KitX SDK` - working-directory: "KitX SDK" - run: | + - uses: actions/checkout@v4 + - run: | + cd "KitX SDK" git submodule update --init --recursive - name: Add to GitHub Repo