Skip to content

Commit

Permalink
Merge pull request #1400 from bcgov/workflows/install-oc
Browse files Browse the repository at this point in the history
[Workflows] Add step to install oc cli
  • Loading branch information
i5okie authored Oct 16, 2024
2 parents 53ddad5 + daf8ac0 commit 5d2a7fe
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/on_pr_opened.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,11 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Install OpenShift CLI tools
uses: redhat-actions/openshift-tools-installer@v1
with:
oc: "4.14"

- name: Authenticate and set context
uses: redhat-actions/oc-login@v1
with:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/on_push_main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,11 @@ jobs:
services
path: trust-over-ip-configurations

- name: Install OpenShift CLI tools
uses: redhat-actions/openshift-tools-installer@v1
with:
oc: "4.14"

- name: Authenticate and set context
uses: redhat-actions/oc-login@v1
with:
Expand Down

0 comments on commit 5d2a7fe

Please sign in to comment.