Skip to content

Commit

Permalink
(chore): use workspace env instead of PWD in e2e detection
Browse files Browse the repository at this point in the history
  • Loading branch information
abhijith-darshan committed Nov 8, 2024
1 parent a7de745 commit 8eba99d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ci-e2e-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: "E2E Detection"
id: e2es
run: |
scenarios=$(find ${PWD}/e2e -type f -name 'e2e_test.go' -exec dirname {} \; | xargs -n 1 basename | jq -R -s -c 'split("\n")[:-1]')
scenarios=$(find ${GITHUB_WORKSPACE}/e2e -type f -name 'e2e_test.go' -exec dirname {} \; | xargs -n 1 basename | jq -R -s -c 'split("\n")[:-1]')
echo $scenarios
echo "result=$scenarios" >> $GITHUB_OUTPUT
Expand Down Expand Up @@ -58,6 +58,7 @@ jobs:
uses: helm/kind-action@v1.10.0
with:
cluster_name: ${{ env.ADMIN_CLUSTER }}
node_image: 'kindest/node:v1.31.0'

# Create the remote cluster with kubernetes version from the matrix
- name: Create Remote Cluster
Expand Down

0 comments on commit 8eba99d

Please sign in to comment.