Skip to content

Commit

Permalink
Update Build_OP_x86_64.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
xfvvvv authored Apr 26, 2024
1 parent 4b0b5d8 commit 3b28cad
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/Build_OP_x86_64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}
Expand Down

0 comments on commit 3b28cad

Please sign in to comment.