Skip to content

Commit

Permalink
Update vertx-base.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
kcs-bandihareesh authored Oct 1, 2024
1 parent f5dd22b commit 15289d0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/vertx-base.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,6 @@ jobs:
- name: Set up Maven settings
run: cp ./travis/new-settings.xml ~/.m2/settings.xml

- name: Authenticate using Artifact Registry Key
run: |
echo "${{ secrets.ARTIFACT_REGISTRY_KEY }}" | base64 -d > $HOME/gcp_key.json
gcloud auth activate-service-account --key-file=$HOME/gcp_key.json
- name: Build and test with Maven
run: mvn -e -Pcoverage verify

Expand Down Expand Up @@ -73,10 +68,15 @@ jobs:
run: |
echo "${{ secrets.ARTIFACT_REGISTRY_KEY }}" | base64 -d > $HOME/gcp_key.json
gcloud auth activate-service-account --key-file=$HOME/gcp_key.json
export GCP_ACCESS_TOKEN=$(gcloud auth print-access-token)
env:
GCP_ACCESS_TOKEN: ${{ secrets.GCP_ACCESS_TOKEN }}

- name: Deploy Snapshots
run: |
mvn -Dmaven.wagon.http.retryHandler.count=5 \
-Dmaven.wagon.httpconnectionManager.ttlSeconds=30 \
-Dmaven.wagon.http.timeout=1200000 \
--batch-mode -e -DskipTests=true deploy -X
env:
GCP_ACCESS_TOKEN: ${{ secrets.GCP_ACCESS_TOKEN }}

0 comments on commit 15289d0

Please sign in to comment.