Skip to content

Commit

Permalink
ci: fix the get log/destroy VM condition
Browse files Browse the repository at this point in the history
    - should use `steps.<step id>.conclusion == 'success'`

Signed-off-by: Vicente Cheng <vicente.cheng@suse.com>
  • Loading branch information
Vicente-Cheng committed Jul 19, 2024
1 parent 4e6e62f commit 5a30aa3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/basic-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,11 @@ jobs:
echo Running integration tests
NDM_HOME=`pwd` go test -v ./tests/...
- name: "Get NDM logs"
if: steps.vm_deploy.outcome == 'success'
if: steps.vm_deploy.conclusion == 'success'
run: |
./ci/scripts/get-debug-info.sh
- name: "Tear Down / Cleanup"
if: steps.vm_deploy.outcome == 'success'
if: steps.vm_deploy.conclusion == 'success'
run: |
pushd ndm-vagrant-rancherd
vagrant destroy -f --parallel
Expand Down

0 comments on commit 5a30aa3

Please sign in to comment.