diff options
author | Harsh Shandilya <me@msfjarvis.dev> | 2021-03-18 12:33:44 +0530 |
---|---|---|
committer | Harsh Shandilya <me@msfjarvis.dev> | 2021-03-18 12:33:44 +0530 |
commit | 9cde249c82d8f1d22cb822a030e0ef747cd12cb1 (patch) | |
tree | 57e99b12a50012121453994be5e536d851fc19e6 /.github | |
parent | 67df6e27d0e677e6a437202e9631c04f1901d7c5 (diff) |
github: run all workflows on Java 11
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/deploy_github_releases.yml | 4 | ||||
-rw-r--r-- | .github/workflows/deploy_library_releases.yml | 4 | ||||
-rw-r--r-- | .github/workflows/deploy_snapshot.yml | 4 | ||||
-rw-r--r-- | .github/workflows/draft_new_release.yml | 4 | ||||
-rw-r--r-- | .github/workflows/pull_request.yml | 5 | ||||
-rw-r--r-- | .github/workflows/weekly_crowdin_sync.yml | 4 |
6 files changed, 25 insertions, 0 deletions
diff --git a/.github/workflows/deploy_github_releases.yml b/.github/workflows/deploy_github_releases.yml index 449a8a08..b449c679 100644 --- a/.github/workflows/deploy_github_releases.yml +++ b/.github/workflows/deploy_github_releases.yml @@ -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 diff --git a/.github/workflows/deploy_library_releases.yml b/.github/workflows/deploy_library_releases.yml index d769af6d..f990adab 100644 --- a/.github/workflows/deploy_library_releases.yml +++ b/.github/workflows/deploy_library_releases.yml @@ -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 diff --git a/.github/workflows/deploy_snapshot.yml b/.github/workflows/deploy_snapshot.yml index e83e057b..1c7cdb67 100644 --- a/.github/workflows/deploy_snapshot.yml +++ b/.github/workflows/deploy_snapshot.yml @@ -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 diff --git a/.github/workflows/draft_new_release.yml b/.github/workflows/draft_new_release.yml index ecc0f087..03993449 100644 --- a/.github/workflows/draft_new_release.yml +++ b/.github/workflows/draft_new_release.yml @@ -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 }}" diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index fa69d324..2d99c93b 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -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 diff --git a/.github/workflows/weekly_crowdin_sync.yml b/.github/workflows/weekly_crowdin_sync.yml index ca8e4c2e..5a323fc6 100644 --- a/.github/workflows/weekly_crowdin_sync.yml +++ b/.github/workflows/weekly_crowdin_sync.yml @@ -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 |