Skip to content

Test OpenShift Tools Installer #3

Test OpenShift Tools Installer

Test OpenShift Tools Installer #3

name: Test OpenShift Tools Installer
on:
workflow_dispatch:
jobs:
install-tools:
runs-on: ubuntu-latest
strategy:
matrix:
tool: [cv, oc]
version: [v1.11, v1]
steps:
- uses: actions/setup-node@v4
if: matrix.tool == 'cv'
with:
node-version: '16'
- name: Install tools
uses: redhat-actions/openshift-tools-installer@${{ matrix.version }}

Check failure on line 19 in .github/workflows/tools-installer.yml

View workflow run for this annotation

GitHub Actions / Test OpenShift Tools Installer

Invalid workflow file

The workflow is not valid. .github/workflows/tools-installer.yml (Line: 19, Col: 15): Unrecognized named-value: 'matrix'. Located at position 1 within expression: matrix.version .github/workflows/tools-installer.yml (Line: 23, Col: 27): Unrecognized named-value: 'undefined'. Located at position 35 within expression: matrix.tool == 'cv' && '0.1.0' || undefined
with:
source: github
skip_cache: false
chart-verifier: ${{ matrix.tool == 'cv' && '0.1.0' || undefined }}
oc: ${{ matrix.tool == 'oc' && 'latest' || undefined }}