From dbb31f268534939c2cbbbf760a2d6ed09d5f6f6b Mon Sep 17 00:00:00 2001 From: 99degree <49397123+99degree@users.noreply.github.com> Date: Wed, 26 Jun 2024 12:48:08 +0800 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 30a279f..f1cd67b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -61,9 +61,6 @@ jobs: - name: Clone kernel sources run: | git clone https://github.com/99degree/linux.git --single-branch --branch ${{ matrix.version }} --depth 1 - git remote add 99degree https://github.com/99degree/linux.git - git fetch 99degree config - git checkout 99degree/config -- arch/arm64/configs/sm71xx-xiaomi.config - name: Compile kernel with envkernel run: | @@ -81,7 +78,8 @@ jobs: # fetch local config git fetch origin config - git checkout origin/config -- arch/arm64/configs/sm71xx-xiaomi.config + git branch config FETCH_HEAD + git checkout config -- arch/arm64/configs/sm71xx-xiaomi.config # apply local config make defconfig sm71xx-xiaomi.config