Skip to content

Commit

Permalink
export krew path on kubectl-hlf job
Browse files Browse the repository at this point in the history
Signed-off-by: jnjerin <[email protected]>
  • Loading branch information
jnjerin committed Nov 17, 2023
1 parent 5a8e9bd commit baec3b6
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions .github/workflows/test-kubectl-plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,18 +51,11 @@ jobs:
env:
IMAGE: hlf-operator
TAG: test
KREW_HOME: $GITHUB_WORKSPACE/.krew
KREW_ROOT: $GITHUB_WORKSPACE/.krew
steps:
- name: Load Krew path
run: |
source $GITHUB_ENV
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v2
export PATH=$HOME/.krew/bin:$PATH
kubectl krew version
- name: Create k8s Kind Cluster
uses: helm/[email protected]
with:
Expand Down

0 comments on commit baec3b6

Please sign in to comment.