Skip to content

Commit

Permalink
updated workflow with deploy on master branch only
Browse files Browse the repository at this point in the history
  • Loading branch information
kcs-bandihareesh committed Oct 8, 2024
1 parent 61ec19e commit 4fb3946
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/database-goodies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
uses: actions/checkout@v4

- name: Set up Oracle JDK 8
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: 8
distribution: 'zulu'
Expand Down Expand Up @@ -73,6 +73,7 @@ jobs:
deploy-snapshots:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master'
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand All @@ -91,7 +92,7 @@ jobs:
echo "ACCESS_TOKEN=$(gcloud auth print-access-token)" >> $GITHUB_ENV
- name: Set up Oracle JDK 8
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: 8
distribution: 'zulu'
Expand Down

0 comments on commit 4fb3946

Please sign in to comment.