From cea6f122ee5609833a7e4357bd8e3043572eb3f8 Mon Sep 17 00:00:00 2001 From: joffrey-bion Date: Mon, 12 Apr 2021 01:43:51 +0200 Subject: Upgrade setup-java Github action to v2 --- .github/workflows/ci-build.yml | 7 ++++--- .github/workflows/ci-cd.yml | 9 +++++---- .github/workflows/rollback-digitalocean.yml | 2 +- 3 files changed, 10 insertions(+), 8 deletions(-) (limited to '.github/workflows') diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index 843f0dc0..a0d0a674 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -13,10 +13,11 @@ jobs: - name: Checkout repository uses: actions/checkout@v2 - - name: Set up JDK 15 - uses: actions/setup-java@v1.4.3 + - name: Set up JDK 16 + uses: actions/setup-java@v2 with: - java-version: 15 + distribution: 'zulu' + java-version: 16 - name: Gradle build cache uses: actions/cache@v2 diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index 322d027f..3726b8c6 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -17,10 +17,11 @@ jobs: - name: Checkout repository uses: actions/checkout@v2 - - name: Set up JDK 15 - uses: actions/setup-java@v1.4.3 + - name: Set up JDK 16 + uses: actions/setup-java@v2 with: - java-version: 15 + distribution: 'zulu' + java-version: 16 - name: Gradle build cache uses: actions/cache@v2 @@ -81,7 +82,7 @@ jobs: # Short-lived credentials (5 min) to avoid accumulating tokens - name: Setup DigitalOcean kubeconfig run: doctl kubernetes cluster kubeconfig save --expiry-seconds 300 bro-cluster - + - name: Update deployment file run: TAG=${{ env.DOCKER_IMAGE_TAG_BUILD }} && sed -i 's|:latest|:'${TAG}'|' kubernetes/server.yml diff --git a/.github/workflows/rollback-digitalocean.yml b/.github/workflows/rollback-digitalocean.yml index 2224029d..9a7beeb3 100644 --- a/.github/workflows/rollback-digitalocean.yml +++ b/.github/workflows/rollback-digitalocean.yml @@ -7,7 +7,7 @@ jobs: deploy: runs-on: ubuntu-latest steps: - - name: Checkout repo + - name: Checkout repository uses: actions/checkout@v2 - name: Install doctl -- cgit