Reordering actions in fineract.dev workflow

This commit is contained in:
Petri Tuomola
2022-01-03 22:00:33 +08:00
committed by Petri Tuomola
parent c81fc7f0f4
commit 1398234c2c
+2 -2
View File
@@ -22,6 +22,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- id: 'auth'
uses: 'google-github-actions/auth@v0'
with:
@@ -31,8 +33,6 @@ jobs:
with:
project_id: ${{ secrets.GOOGLE_PROJECT_ID }}
- uses: actions/checkout@v2
- run: gcloud components install beta
- run: JOBS=$(gcloud beta builds list --ongoing --format="value[terminator=' '](id)") && [ ! -z "$JOBS" ] && echo "Cancelling $JOBS..." && gcloud builds cancel $JOBS --no-user-output-enabled || true