diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 714f30de..7712a7cf 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -6,6 +6,6 @@ jobs: call-reusable-workflow: uses: luxonis/luxonis-ml/.github/workflows/luxonis-ml-ci.yaml@feature/custom-pre-commit-hooks with: - os: 'ubuntu-latest, macos-latest' - python_version: '3.8, 3.9' + os: 'ubuntu-latest,macos-latest' + python: '3.8,3.9' src_dir: 'src/luxonis_ml' diff --git a/.github/workflows/pre-commit.yaml b/.github/workflows/pre-commit.yaml index 8f43cf8c..568d9c74 100644 --- a/.github/workflows/pre-commit.yaml +++ b/.github/workflows/pre-commit.yaml @@ -29,8 +29,8 @@ jobs: steps: - id: set-matrix run: | - os_list=$(echo "${{ inputs.os }}" | jq -R -s -c 'split(",")') - python_list=$(echo "${{ inputs.python_version }}" | jq -R -s -c 'split(",")') + os_list=$(echo "${{ inputs.os }}" | xargs | jq -R -s -c 'split(",")') + python_list=$(echo "${{ inputs.python }}" | xargs | jq -R -s -c 'split(",")') echo "os-matrix=$os_list" >> $GITHUB_ENV echo "python-matrix=$python_list" >> $GITHUB_ENV