Skip to content

Commit

Permalink
chore(workflow): fix cleanup task when run failed (#42)
Browse files Browse the repository at this point in the history
Signed-off-by: Jay Chen <[email protected]>
  • Loading branch information
jijiechen authored Jan 22, 2025
1 parent 05cdfc3 commit 43a4b36
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/smoke.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ jobs:
- check
runs-on: ubuntu-latest
env:
SMOKE_ENV_TYPE: ${{ matrix.envPlatform }}

GOOGLE_PROJECT: ${{ secrets.GOOGLE_PROJECT }}
GOOGLE_LOCATION: ${{ secrets.GOOGLE_LOCATION }}
GOOGLE_APPLICATION_CREDENTIALS: ${{ secrets.GOOGLE_APPLICATION_CREDENTIALS }}
Expand Down Expand Up @@ -94,8 +96,7 @@ jobs:
- name: make build
run: make build
- name: make run
run: |
SMOKE_ENV_TYPE=${{ matrix.envPlatform }} make run
run: make run
- name: make cleanup-kubernetes
if: always()
run: make cleanup-kubernetes
Expand Down

0 comments on commit 43a4b36

Please sign in to comment.