From f0698d881416617c305092e6f39f364a5a1e31be Mon Sep 17 00:00:00 2001 From: elseif Date: Thu, 19 Jun 2025 09:50:58 +0800 Subject: [PATCH] Update self_hosted_patch.yml Signed-off-by: elseif --- .github/workflows/self_hosted_patch.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/self_hosted_patch.yml b/.github/workflows/self_hosted_patch.yml index 49c0260..8b8fafb 100644 --- a/.github/workflows/self_hosted_patch.yml +++ b/.github/workflows/self_hosted_patch.yml @@ -395,7 +395,7 @@ jobs: - name: Cache refind - if: steps.get_latest.outputs.has_new_version == 'true' && matrix.arch == 'x86' && inputs.release == 'true' + if: steps.get_latest.outputs.has_new_version == 'true' && matrix.arch == 'x86' && github.event.inputs.release == 'true' id: cache-refind uses: actions/cache@v4 with: @@ -403,11 +403,11 @@ jobs: key: refind - name: Get refind - if: steps.get_latest.outputs.has_new_version == 'true' && matrix.arch == 'x86' && steps.cache-refind.outputs.cache-hit != 'true' && inputs.release == 'true' + if: steps.get_latest.outputs.has_new_version == 'true' && matrix.arch == 'x86' && steps.cache-refind.outputs.cache-hit != 'true' && github.event.inputs.release == 'true' run: sudo wget -nv -O refind-bin-0.14.2.zip https://nchc.dl.sourceforge.net/project/refind/0.14.2/refind-bin-0.14.2.zip - name: Create install-image-${{ env.LATEST_VERSION }}.img - if: steps.get_latest.outputs.has_new_version == 'true' && matrix.arch == 'x86' && inputs.release == 'true' + if: steps.get_latest.outputs.has_new_version == 'true' && matrix.arch == 'x86' && github.event.inputs.release == 'true' run: | sudo modprobe nbd sudo apt-get install -y qemu-utils extlinux > /dev/null