Skip to content

Commit 4290d4c

Browse files
authored
Ensure namespace deletes happen when oc is installed from the cache (#605)
Signed-off-by: Jose R. Gonzalez <komish@flutes.dev>
1 parent e023249 commit 4290d4c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/functional-tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ jobs:
151151
ve1/bin/pytest -v --log-cli-level=WARNING --tb=short
152152
153153
- name: Delete Namespace
154-
if: ${{ always() && steps.install-oc.conclusion == 'success' }}
154+
if: ${{ always() && (steps.cache-oc.outputs.cache-hit == 'true' || steps.install-oc.conclusion == 'success') }}
155155
env:
156156
KUBECONFIG: /tmp/ci-kubeconfig
157157
EVENT_NUMBER: ${{ inputs.event-identifier }}

0 commit comments

Comments
 (0)