From 3b28cadd5f611b3716fb73c9c9ecec97f20177da Mon Sep 17 00:00:00 2001 From: Chelal <31129985+xfvvvv@users.noreply.github.com> Date: Fri, 26 Apr 2024 09:25:46 +0800 Subject: [PATCH] Update Build_OP_x86_64.yml --- .github/workflows/Build_OP_x86_64.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/Build_OP_x86_64.yml b/.github/workflows/Build_OP_x86_64.yml index 4328f74fbf..437957c862 100644 --- a/.github/workflows/Build_OP_x86_64.yml +++ b/.github/workflows/Build_OP_x86_64.yml @@ -217,14 +217,13 @@ jobs: echo "FILE_DATE=$(date +"%Y.%m.%d")" >> $GITHUB_ENV - name: Upload Bin Directory - if: steps.compile.outputs.status == 'success' && env.UPLOAD_BIN_DIR == 'true' + if: env.UPLOAD_BIN_DIR == 'true' uses: actions/upload-artifact@main with: name: ${{ env.SOURCE_REPO }}-bin-${{ env.DEVICE_TARGET }}-${{ env.DEVICE_SUBTARGET }}-${{ env.FILE_DATE }} path: ${{ env.OPENWRT_PATH }}/bin - name: Organize Files - if: steps.compile.outputs.status == 'success' run: | cd $OPENWRT_PATH/bin/targets/*/* cat sha256sums @@ -236,14 +235,14 @@ jobs: echo "FIRMWARE_PATH=$PWD" >> $GITHUB_ENV - name: Upload Firmware To Artifact - if: steps.compile.outputs.status == 'success' && env.FIRMWARE_RELEASE != 'true' + if: env.FIRMWARE_RELEASE != 'true' uses: actions/upload-artifact@main with: name: ${{ env.SOURCE_REPO }}-firmware-${{ env.DEVICE_TARGET }}-${{ env.DEVICE_SUBTARGET }}-${{ env.FILE_DATE }} path: ${{ env.FIRMWARE_PATH }} - name: Upload Firmware To Release - if: steps.compile.outputs.status == 'success' && env.FIRMWARE_RELEASE == 'true' + if: env.FIRMWARE_RELEASE == 'true' uses: ncipollo/release-action@v1 with: name: R${{ env.DATE }} for ${{ env.FIRMWARE_TAG }}