github: run all workflows on Java 11

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
Harsh Shandilya 2021-03-18 12:33:44 +05:30
parent 67df6e27d0
commit 9cde249c82
No known key found for this signature in database
GPG Key ID: 366D7BBAD1031E80
6 changed files with 25 additions and 0 deletions

View File

@ -9,6 +9,10 @@ jobs:
name: Build release binaries
runs-on: ubuntu-latest
steps:
- uses: actions/setup-java@d202f5dbf7256730fb690ec59f6381650114feb2
with:
java-version: '11'
- name: Checkout repository
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f

View File

@ -9,6 +9,10 @@ jobs:
publish-release:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-java@d202f5dbf7256730fb690ec59f6381650114feb2
with:
java-version: '11'
- name: Checkout repository
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f

View File

@ -9,6 +9,10 @@ jobs:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '[ci skip]')"
steps:
- uses: actions/setup-java@d202f5dbf7256730fb690ec59f6381650114feb2
with:
java-version: '11'
- name: Checkout repository
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f

View File

@ -9,6 +9,10 @@ jobs:
name: "Draft a new release"
runs-on: ubuntu-latest
steps:
- uses: actions/setup-java@d202f5dbf7256730fb690ec59f6381650114feb2
with:
java-version: '11'
- name: Extract version from milestone
run: |
VERSION="${{ github.event.milestone.title }}"

View File

@ -28,6 +28,11 @@ jobs:
console.log(shouldRun)
return shouldRun
- uses: actions/setup-java@d202f5dbf7256730fb690ec59f6381650114feb2
if: ${{ steps.service-changed.outputs.result == 'true' }}
with:
java-version: '11'
- name: Checkout repository
if: ${{ steps.service-changed.outputs.result == 'true' }}
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f

View File

@ -10,6 +10,10 @@ jobs:
- name: Checkout
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
- uses: actions/setup-java@d202f5dbf7256730fb690ec59f6381650114feb2
with:
java-version: '11'
- name: Download new translations from Crowdin
run: ./gradlew crowdin