@@ -17,33 +17,33 @@ jobs:
1717 java-version : 8
1818 distribution : zulu
1919
20- # This operation is specific to `gcloud-java` repository only.
21- - name : Decrypt the credentials for the Spine-Dev service account
22- run : ./config/scripts/decrypt.sh "$SPINE_DEV_KEY" ./.github/keys/spine-dev.json.gpg ./spine-dev.json
23- env :
24- SPINE_DEV_KEY : ${{ secrets.SPINE_DEV_KEY }}
25-
26- # The OS-managed Google Cloud SDK does not provide a Datastore emulator.
27- - name : Remove the OS-managed Google Cloud SDK
28- run : sudo apt-get remove google-cloud-sdk
29-
30- - name : Install Google Cloud SDK utility
31- run : chmod +x ./scripts/install-gcloud.sh && ./scripts/install-gcloud.sh
32-
33- # Appends the `gcloud` utility to the PATH for this particular terminal session.
34- - name : Install the Datastore emulator and Cloud Beta tools
35- run : >
36- source ~/google-cloud-sdk/path.bash.inc
37- && gcloud components install cloud-datastore-emulator --quiet
38- && gcloud components install beta --quiet
39-
40- # Appends the `gcloud` utility to the PATH for this particular terminal session.
41- - name : Start the Datastore emulator
42- run : >
43- source ~/google-cloud-sdk/path.bash.inc
44- && ./scripts/start-datastore.sh &
45-
46- - name : Build project and run tests
47- run : >
48- source ~/google-cloud-sdk/path.bash.inc
49- && ./gradlew build --stacktrace
20+ # This operation is specific to `gcloud-java` repository only.
21+ - name : Decrypt the credentials for the Spine-Dev service account
22+ run : ./config/scripts/decrypt.sh "$SPINE_DEV_KEY" ./.github/keys/spine-dev.json.gpg ./spine-dev.json
23+ env :
24+ SPINE_DEV_KEY : ${{ secrets.SPINE_DEV_KEY }}
25+
26+ # The OS-managed Google Cloud SDK does not provide a Datastore emulator.
27+ - name : Remove the OS-managed Google Cloud SDK
28+ run : sudo apt-get remove google-cloud-sdk
29+
30+ - name : Install Google Cloud SDK utility
31+ run : chmod +x ./scripts/install-gcloud.sh && ./scripts/install-gcloud.sh
32+
33+ # Appends the `gcloud` utility to the PATH for this particular terminal session.
34+ - name : Install the Datastore emulator and Cloud Beta tools
35+ run : >
36+ source ~/google-cloud-sdk/path.bash.inc
37+ && gcloud components install cloud-datastore-emulator --quiet
38+ && gcloud components install beta --quiet
39+
40+ # Appends the `gcloud` utility to the PATH for this particular terminal session.
41+ - name : Start the Datastore emulator
42+ run : >
43+ source ~/google-cloud-sdk/path.bash.inc
44+ && ./scripts/start-datastore.sh &
45+
46+ - name : Build project and run tests
47+ run : >
48+ source ~/google-cloud-sdk/path.bash.inc
49+ && ./gradlew build --stacktrace
0 commit comments