diff options
author | joffrey-bion <joffrey.bion@gmail.com> | 2021-04-12 01:43:51 +0200 |
---|---|---|
committer | joffrey-bion <joffrey.bion@gmail.com> | 2021-04-12 01:43:51 +0200 |
commit | cea6f122ee5609833a7e4357bd8e3043572eb3f8 (patch) | |
tree | 43c46094dacb56bb3dcc1cdec064f9360c675834 | |
parent | Upgrade Gradle wrapper to 7.0 (diff) | |
download | seven-wonders-cea6f122ee5609833a7e4357bd8e3043572eb3f8.tar.gz seven-wonders-cea6f122ee5609833a7e4357bd8e3043572eb3f8.tar.bz2 seven-wonders-cea6f122ee5609833a7e4357bd8e3043572eb3f8.zip |
Upgrade setup-java Github action to v2
-rw-r--r-- | .github/workflows/ci-build.yml | 7 | ||||
-rw-r--r-- | .github/workflows/ci-cd.yml | 9 | ||||
-rw-r--r-- | .github/workflows/rollback-digitalocean.yml | 2 |
3 files changed, 10 insertions, 8 deletions
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 |