-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
reenable cache and update java to 11
- Loading branch information
minh.tran
committed
Jul 7, 2021
1 parent
3225dfa
commit ba20c21
Showing
1 changed file
with
41 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,30 +38,30 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
|
||
# Setup Java 1.8 environment for the next steps | ||
# Setup Java 11 environment for the next steps | ||
- name: Setup Java | ||
uses: actions/setup-java@v2 | ||
with: | ||
distribution: zulu | ||
java-version: 8 | ||
java-version: 11 | ||
|
||
# Check out current repository | ||
- name: Fetch Sources | ||
uses: actions/[email protected] | ||
|
||
# Cache Gradle dependencies | ||
# - name: Setup Gradle Dependencies Cache | ||
# uses: actions/[email protected] | ||
# with: | ||
# path: ~/.gradle/caches | ||
# key: ${{ runner.os }}-gradle-cachesv1-${{ hashFiles('**/*.gradle', '**/*.gradle.kts', 'gradle.properties') }} | ||
- name: Setup Gradle Dependencies Cache | ||
uses: actions/[email protected] | ||
with: | ||
path: ~/.gradle/caches | ||
key: ${{ runner.os }}-gradle-cachesv1-${{ hashFiles('**/*.gradle', '**/*.gradle.kts', 'gradle.properties') }} | ||
|
||
# Cache Gradle Wrapper | ||
# - name: Setup Gradle Wrapper Cache | ||
# uses: actions/[email protected] | ||
# with: | ||
# path: ~/.gradle/wrapper | ||
# key: ${{ runner.os }}-gradle-wrapperv1-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }} | ||
- name: Setup Gradle Wrapper Cache | ||
uses: actions/[email protected] | ||
with: | ||
path: ~/.gradle/wrapper | ||
key: ${{ runner.os }}-gradle-wrapperv1-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }} | ||
|
||
# Run detekt, ktlint and tests | ||
- name: Run Linters and Test | ||
|
@@ -84,30 +84,30 @@ jobs: | |
artifact: ${{ steps.properties.outputs.artifact }} | ||
steps: | ||
|
||
# Setup Java 1.8 environment for the next steps | ||
# Setup Java 11 environment for the next steps | ||
- name: Setup Java | ||
uses: actions/setup-java@v2 | ||
with: | ||
distribution: zulu | ||
java-version: 8 | ||
java-version: 11 | ||
|
||
# Check out current repository | ||
- name: Fetch Sources | ||
uses: actions/checkout@v2 | ||
|
||
# Cache Gradle Dependencies | ||
# - name: Setup Gradle Dependencies Cache | ||
# uses: actions/[email protected] | ||
# with: | ||
# path: ~/.gradle/caches | ||
# key: ${{ runner.os }}-gradle-cachesv1-${{ hashFiles('**/*.gradle', '**/*.gradle.kts', 'gradle.properties') }} | ||
- name: Setup Gradle Dependencies Cache | ||
uses: actions/[email protected] | ||
with: | ||
path: ~/.gradle/caches | ||
key: ${{ runner.os }}-gradle-cachesv1-${{ hashFiles('**/*.gradle', '**/*.gradle.kts', 'gradle.properties') }} | ||
|
||
# Cache Gradle Wrapper | ||
# - name: Setup Gradle Wrapper Cache | ||
# uses: actions/[email protected] | ||
# with: | ||
# path: ~/.gradle/wrapper | ||
# key: ${{ runner.os }}-gradle-wrapperv1-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }} | ||
- name: Setup Gradle Wrapper Cache | ||
uses: actions/[email protected] | ||
with: | ||
path: ~/.gradle/wrapper | ||
key: ${{ runner.os }}-gradle-wrapperv1-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }} | ||
|
||
# Set environment variables | ||
- name: Export Properties | ||
|
@@ -145,30 +145,30 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
|
||
# Setup Java 1.8 environment for the next steps | ||
# Setup Java 11 environment for the next steps | ||
- name: Setup Java | ||
uses: actions/setup-java@v2 | ||
with: | ||
distribution: zulu | ||
java-version: 8 | ||
java-version: 11 | ||
|
||
# Check out current repository | ||
- name: Fetch Sources | ||
uses: actions/[email protected] | ||
|
||
# Cache Gradle Dependencies | ||
# - name: Setup Gradle Dependencies Cache | ||
# uses: actions/[email protected] | ||
# with: | ||
# path: ~/.gradle/caches | ||
# key: ${{ runner.os }}-gradle-cachesv1-${{ hashFiles('**/*.gradle', '**/*.gradle.kts', 'gradle.properties') }} | ||
- name: Setup Gradle Dependencies Cache | ||
uses: actions/[email protected] | ||
with: | ||
path: ~/.gradle/caches | ||
key: ${{ runner.os }}-gradle-cachesv1-${{ hashFiles('**/*.gradle', '**/*.gradle.kts', 'gradle.properties') }} | ||
|
||
# Cache Gradle Wrapper | ||
# - name: Setup Gradle Wrapper Cache | ||
# uses: actions/[email protected] | ||
# with: | ||
# path: ~/.gradle/wrapper | ||
# key: ${{ runner.os }}-gradle-wrapperv1-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }} | ||
- name: Setup Gradle Wrapper Cache | ||
uses: actions/[email protected] | ||
with: | ||
path: ~/.gradle/wrapper | ||
key: ${{ runner.os }}-gradle-wrapperv1-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }} | ||
|
||
# Set environment variables | ||
- name: Export Properties | ||
|
@@ -180,11 +180,11 @@ jobs: | |
echo "::set-output name=ideVersions::$IDE_VERSIONS" | ||
echo "::set-output name=pluginVerifierHomeDir::~/.pluginVerifier" | ||
# Cache Plugin Verifier IDEs | ||
# - name: Setup Plugin Verifier IDEs Cache | ||
# uses: actions/[email protected] | ||
# with: | ||
# path: ${{ steps.properties.outputs.pluginVerifierHomeDir }}/ides | ||
# key: ${{ runner.os }}-plugin-verifierv1-${{ steps.properties.outputs.ideVersions }} | ||
- name: Setup Plugin Verifier IDEs Cache | ||
uses: actions/[email protected] | ||
with: | ||
path: ${{ steps.properties.outputs.pluginVerifierHomeDir }}/ides | ||
key: ${{ runner.os }}-plugin-verifierv1-${{ steps.properties.outputs.ideVersions }} | ||
|
||
# Run IntelliJ Plugin Verifier action using GitHub Action | ||
- name: Verify Plugin | ||
|