From 35f992695536cc758eb1a4baa6e46b368bae48d2 Mon Sep 17 00:00:00 2001 From: "minh.tran" Date: Wed, 7 Jul 2021 15:06:44 +0700 Subject: [PATCH] reenable cache --- .github/workflows/build.yml | 70 ++++++++++++++++++------------------- 1 file changed, 35 insertions(+), 35 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 76e36fa..d6cbb03 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -50,18 +50,18 @@ jobs: uses: actions/checkout@v2.3.4 # Cache Gradle dependencies -# - name: Setup Gradle Dependencies Cache -# uses: actions/cache@v2.1.6 -# with: -# path: ~/.gradle/caches -# key: ${{ runner.os }}-gradle-caches-${{ hashFiles('**/*.gradle', '**/*.gradle.kts', 'gradle.properties') }} + - name: Setup Gradle Dependencies Cache + uses: actions/cache@v2.1.6 + with: + path: ~/.gradle/caches + key: ${{ runner.os }}-gradle-caches-${{ hashFiles('**/*.gradle', '**/*.gradle.kts', 'gradle.properties') }} # Cache Gradle Wrapper -# - name: Setup Gradle Wrapper Cache -# uses: actions/cache@v2.1.6 -# with: -# path: ~/.gradle/wrapper -# key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }} + - name: Setup Gradle Wrapper Cache + uses: actions/cache@v2.1.6 + with: + path: ~/.gradle/wrapper + key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }} # Run detekt, ktlint and tests - name: Run Linters and Test @@ -96,18 +96,18 @@ jobs: uses: actions/checkout@v2 # Cache Gradle Dependencies -# - name: Setup Gradle Dependencies Cache -# uses: actions/cache@v2.1.6 -# with: -# path: ~/.gradle/caches -# key: ${{ runner.os }}-gradle-caches-${{ hashFiles('**/*.gradle', '**/*.gradle.kts', 'gradle.properties') }} + - name: Setup Gradle Dependencies Cache + uses: actions/cache@v2.1.6 + with: + path: ~/.gradle/caches + key: ${{ runner.os }}-gradle-caches-${{ hashFiles('**/*.gradle', '**/*.gradle.kts', 'gradle.properties') }} # Cache Gradle Wrapper -# - name: Setup Gradle Wrapper Cache -# uses: actions/cache@v2.1.6 -# with: -# path: ~/.gradle/wrapper -# key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }} + - name: Setup Gradle Wrapper Cache + uses: actions/cache@v2.1.6 + with: + path: ~/.gradle/wrapper + key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }} # Set environment variables - name: Export Properties @@ -159,18 +159,18 @@ jobs: uses: actions/checkout@v2.3.4 # Cache Gradle Dependencies -# - name: Setup Gradle Dependencies Cache -# uses: actions/cache@v2.1.6 -# with: -# path: ~/.gradle/caches -# key: ${{ runner.os }}-gradle-caches-${{ hashFiles('**/*.gradle', '**/*.gradle.kts', 'gradle.properties') }} + - name: Setup Gradle Dependencies Cache + uses: actions/cache@v2.1.6 + with: + path: ~/.gradle/caches + key: ${{ runner.os }}-gradle-caches-${{ hashFiles('**/*.gradle', '**/*.gradle.kts', 'gradle.properties') }} # Cache Gradle Wrapper -# - name: Setup Gradle Wrapper Cache -# uses: actions/cache@v2.1.6 -# with: -# path: ~/.gradle/wrapper -# key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }} + - name: Setup Gradle Wrapper Cache + uses: actions/cache@v2.1.6 + with: + path: ~/.gradle/wrapper + key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }} # Set environment variables - name: Export Properties @@ -184,11 +184,11 @@ jobs: echo "::set-output name=pluginVerifierHomeDir::~/.pluginVerifier" # Cache Plugin Verifier IDEs -# - name: Setup Plugin Verifier IDEs Cache -# uses: actions/cache@v2.1.6 -# with: -# path: ${{ steps.properties.outputs.pluginVerifierHomeDir }}/ides -# key: ${{ runner.os }}-plugin-verifier-${{ steps.properties.outputs.ideVersions }} + - name: Setup Plugin Verifier IDEs Cache + uses: actions/cache@v2.1.6 + with: + path: ${{ steps.properties.outputs.pluginVerifierHomeDir }}/ides + key: ${{ runner.os }}-plugin-verifier-${{ steps.properties.outputs.ideVersions }} # Run IntelliJ Plugin Verifier action using GitHub Action - name: Verify Plugin