Fix flank auth in GitHub workflow
This commit is contained in:
parent
29f26265f8
commit
a5e002f61c
2 changed files with 6 additions and 3 deletions
4
.github/workflows/android.yml
vendored
4
.github/workflows/android.yml
vendored
|
@ -24,9 +24,7 @@ jobs:
|
||||||
- name: Add auth for flank
|
- name: Add auth for flank
|
||||||
env:
|
env:
|
||||||
GCLOUD_KEY: ${{ secrets.GCLOUD_KEY }}
|
GCLOUD_KEY: ${{ secrets.GCLOUD_KEY }}
|
||||||
GCLOUD_DIR: "~/.config/gcloud/"
|
|
||||||
run: |
|
run: |
|
||||||
mkdir -p "$GCLOUD_DIR"
|
./flank_auth.sh
|
||||||
echo "$GCLOUD_KEY" | base64 --decode > "$GCLOUD_DIR/application_default_credentials.json"
|
|
||||||
- name: Run UI tests
|
- name: Run UI tests
|
||||||
run: ./gradlew runFlank
|
run: ./gradlew runFlank
|
||||||
|
|
5
flank_auth.sh
Normal file
5
flank_auth.sh
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
GCLOUD_DIR="$HOME/.config/gcloud/"
|
||||||
|
mkdir -p "$GCLOUD_DIR"
|
||||||
|
echo "$GCLOUD_KEY" | base64 --decode > "$GCLOUD_DIR/application_default_credentials.json"
|
Loading…
Reference in a new issue