diff --git a/.github/workflows/snapshot.yml b/.github/workflows/snapshot.yml index 3504ac24cf..475936f512 100644 --- a/.github/workflows/snapshot.yml +++ b/.github/workflows/snapshot.yml @@ -13,9 +13,9 @@ on: required: true default: "false" platforms: - description: 'List of platforms to build (comma seperated)' + description: 'List of platforms to build (comma seperated, e.g. "rpi3","rpi4")' required: true - default: "" + default: 'all' type: string # default read-only permission @@ -48,7 +48,7 @@ jobs: strategy: fail-fast: false matrix: - platform: ${{ fromJSON(format('[{0}]', github.event.inputs.platforms || '"rpi0","rpi2","rpi3","rpi4","rpi5","tinkerboard","odroid-c2","odroid-c4","odroid-n2","intelnuc","ova","oci_amd64",oci_arm64","oci_arm"')) }} + platform: ${{ fromJSON(format('[{0}]', github.event.inputs.platforms != 'all' || '"rpi0","rpi2","rpi3","rpi4","rpi5","tinkerboard","odroid-c2","odroid-c4","odroid-n2","intelnuc","ova","oci_amd64",oci_arm64","oci_arm"')) }} steps: - name: Checkout Code