From 3b67c603bf5dfd82041b0a08bc0527e53306095c Mon Sep 17 00:00:00 2001 From: 99degree <49397123+99degree@users.noreply.github.com> Date: Wed, 26 Jun 2024 19:06:43 +0800 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 42ab4fa..8ff87f7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,6 +22,7 @@ jobs: #sudo apt-get install -y gcc-aarch64-linux-gnu #sudo apt-get install -y binutils-aarch64-linux-gnu find . -type f -name "*.cfg" -exec sed -i "s|HOME|$(echo $HOME)|;s|NPROC|$(nproc)|" {} + + echo "KERNEL_BRANCH=$DEFAULT_BRANCH" >> $GITHUB_ENV - name: Install pmbootstrap from git run: | @@ -107,6 +108,6 @@ jobs: - name: Upload artifacts uses: actions/upload-artifact@v4 with: - name: xiaomi-miatoll-${{ env.KERNEL_BRANCH }} + name: xiaomi-miatoll-${{ matrix.version }} path: out/*-miatoll*.img retention-days: 7