Skip to content

Commit

Permalink
Fix typo in variable BUILDS_MATRIX (#351)
Browse files Browse the repository at this point in the history
  • Loading branch information
ruzickap authored Jan 2, 2022
1 parent 311a901 commit becfcb9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ on:
- "true"
required: false
schedule:
- cron: '30 7 1 * *'
- cron: '45 6 1 * *'

env:
PACKER_IMAGES_OUTPUT_DIR: /var/tmp/packer-templates-images
Expand Down Expand Up @@ -84,8 +84,8 @@ jobs:
id: set-matrix
run: |
set -euxo pipefail
declare -a BUILDS_MATRIX=${{ env.BUILDS_LIST }}
for BUILD_BOX in "${BUILDS_MATRIX[@]}" ; do
declare -a BUILDS_LIST_ARRAY=${{ env.BUILDS_LIST }}
for BUILD_BOX in "${BUILDS_LIST_ARRAY[@]}" ; do
if [[ "${{ github.event.inputs.build }}" =~ ${BUILD_BOX} || "${{ github.event.inputs.build }}" =~ ^all || "${{ github.event_name }}" == 'schedule' ]] ; then
PACKER_VAGRANT_PROVIDER="${BUILD_BOX##*-}"
NAME="${BUILD_BOX%-*}"
Expand Down

0 comments on commit becfcb9

Please sign in to comment.