Skip to content

Commit 9a2a466

Browse files
Update release.yml
1 parent 47ea54d commit 9a2a466

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,8 +194,9 @@ jobs:
194194
helm install antmedia antmedia/antmedia --set origin=origin.antmedia.cloud --namespace antmedia --create-namespace
195195
- name: Wait for containers to be ready
196196
run: |
197+
whoami
197198
while true; do
198-
STATUS=$(kubectl get pods -n antmedia -o jsonpath='{.items[0].status.containerStatuses[0].ready}')
199+
STATUS=$(minikube kubectl get pods -- -n antmedia -o jsonpath='{.items[0].status.containerStatuses[0].ready}')
199200
if [ "$STATUS" == "true" ]; then
200201
break
201202
fi
@@ -244,7 +245,8 @@ jobs:
244245
antmedia-${{ steps.version.outputs.version }}.tgz
245246
246247
clean:
247-
needs: [setup-runner, local_tests]
248+
if: ${{ always() }}
249+
needs: [setup-runner, local_tests, docker-build-and-push]
248250
runs-on: ubuntu-latest
249251
steps:
250252
- name: Checkout repository

0 commit comments

Comments
 (0)