diff --git a/.github/workflows/on-pr-main.yml b/.github/workflows/on-pr-main.yml index 67c03eb..697b70f 100644 --- a/.github/workflows/on-pr-main.yml +++ b/.github/workflows/on-pr-main.yml @@ -71,6 +71,9 @@ jobs: runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 + - uses: redhat-actions/openshift-tools-installer@v1 + with: + oc: "4" - name: Deploy to OpenShift shell: bash run: | diff --git a/.github/workflows/pr-close.yml b/.github/workflows/pr-close.yml index 6e62ff3..ea2184f 100644 --- a/.github/workflows/pr-close.yml +++ b/.github/workflows/pr-close.yml @@ -20,6 +20,9 @@ jobs: name: Cleanup OpenShift runs-on: ubuntu-22.04 steps: + - uses: redhat-actions/openshift-tools-installer@v1 + with: + oc: "4" - name: Remove OpenShift artifacts run: | oc login --token=${{ secrets.OC_TOKEN }} --server=${{ vars.OC_SERVER }}