From 712b0b08f6c4231f1263aaad2fcdde4b5c68eae3 Mon Sep 17 00:00:00 2001 From: "QSL\\SumathiT" Date: Wed, 22 Jan 2025 19:12:55 -0800 Subject: [PATCH] git actions change. --- .github/workflows/build.from.main.branch.deploy.to.dev.yml | 2 +- .../workflows/build.from.release.branch.deploy.to.dev.yml | 2 +- .github/workflows/create_tag.yml | 4 ++-- .github/workflows/deploy_prod.yml | 2 +- .github/workflows/deploy_test.yml | 2 +- .github/workflows/on.pr.yml | 5 +++-- 6 files changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.from.main.branch.deploy.to.dev.yml b/.github/workflows/build.from.main.branch.deploy.to.dev.yml index 34e2619..f02f69e 100644 --- a/.github/workflows/build.from.main.branch.deploy.to.dev.yml +++ b/.github/workflows/build.from.main.branch.deploy.to.dev.yml @@ -42,7 +42,7 @@ jobs: steps: - name: Check out repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Determine image tags if: env.TAG == '' diff --git a/.github/workflows/build.from.release.branch.deploy.to.dev.yml b/.github/workflows/build.from.release.branch.deploy.to.dev.yml index 0af6f48..171e759 100644 --- a/.github/workflows/build.from.release.branch.deploy.to.dev.yml +++ b/.github/workflows/build.from.release.branch.deploy.to.dev.yml @@ -48,7 +48,7 @@ jobs: steps: - name: Check out repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: grad-release diff --git a/.github/workflows/create_tag.yml b/.github/workflows/create_tag.yml index ab53571..c75a4d5 100644 --- a/.github/workflows/create_tag.yml +++ b/.github/workflows/create_tag.yml @@ -35,7 +35,7 @@ jobs: steps: - name: Check out repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Create tag uses: actions/github-script@v7 @@ -54,7 +54,7 @@ jobs: oc: 4 # https://github.com/redhat-actions/oc-login#readme - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Tag in OpenShift run: | set -eux diff --git a/.github/workflows/deploy_prod.yml b/.github/workflows/deploy_prod.yml index 55b05ba..f4a3a3b 100644 --- a/.github/workflows/deploy_prod.yml +++ b/.github/workflows/deploy_prod.yml @@ -37,7 +37,7 @@ jobs: steps: - name: Check out repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Get latest tag uses: actions-ecosystem/action-get-latest-tag@v1 diff --git a/.github/workflows/deploy_test.yml b/.github/workflows/deploy_test.yml index ece89ba..f18adc4 100644 --- a/.github/workflows/deploy_test.yml +++ b/.github/workflows/deploy_test.yml @@ -37,7 +37,7 @@ jobs: steps: - name: Check out repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Get latest tag uses: actions-ecosystem/action-get-latest-tag@v1 diff --git a/.github/workflows/on.pr.yml b/.github/workflows/on.pr.yml index 146a9c9..0a24f2d 100644 --- a/.github/workflows/on.pr.yml +++ b/.github/workflows/on.pr.yml @@ -17,12 +17,13 @@ jobs: working-directory: api steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis - name: Set up JDK 18 - uses: actions/setup-java@v1 + uses: actions/setup-java@v4 with: + distribution: 'corretto' java-version: 18 - uses: actions/cache@v1 with: