Skip to content

Commit

Permalink
feat: add workflow input 'upload-all'
Browse files Browse the repository at this point in the history
  • Loading branch information
Revincx committed Jan 25, 2024
1 parent 2d3f799 commit 0f5c7f3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/generate-x86_64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ on:
description: 将编译出的镜像上传到 Release
required: false
default: 'false'
upload-all:
description: 将编译出的所有镜像都上传到 Artifacts
required: false
default: 'true'

env:
DOWNLOAD_BASE: https://downloads.immortalwrt.org
Expand Down Expand Up @@ -74,6 +78,7 @@ jobs:
path: ${{ env.VENDOR }}-imagebuilder-${{ env.VERSION }}-x86-64.Linux-x86_64/bin/targets/x86/64/*.vdi

- name: Upload All Firmware to Artifacts
if: github.event.inputs.upload-all == 'true'
uses: nmerget/[email protected]
with:
name: ${{ env.VENDOR }}-${{ env.VERSION }}-x86_64-images-${{ env.DATETIME }}
Expand Down

0 comments on commit 0f5c7f3

Please sign in to comment.