add node_modules cache

This commit is contained in:
Aria Moradi 2021-02-13 15:30:15 +03:30
parent 3a33bf3a5d
commit 3051a72d7f
2 changed files with 13 additions and 0 deletions

View File

@ -53,6 +53,13 @@ jobs:
cd master cd master
curl https://raw.githubusercontent.com/AriaMoradi/Tachidesk/android-jar/android.jar -o AndroidCompat/lib/android.jar curl https://raw.githubusercontent.com/AriaMoradi/Tachidesk/android-jar/android.jar -o AndroidCompat/lib/android.jar
- name: Cache node_modules
uses: actions/cache@v2
with:
path: |
**/react/node_modules
key: ${{ runner.os }}-${{ hashFiles('**/react/yarn.lock') }}
- name: Build Jar and launch4j - name: Build Jar and launch4j
uses: eskatos/gradle-command-action@v1 uses: eskatos/gradle-command-action@v1
with: with:

View File

@ -51,6 +51,12 @@ jobs:
cd master cd master
curl https://raw.githubusercontent.com/AriaMoradi/Tachidesk/android-jar/android.jar -o AndroidCompat/lib/android.jar curl https://raw.githubusercontent.com/AriaMoradi/Tachidesk/android-jar/android.jar -o AndroidCompat/lib/android.jar
- name: Cache node_modules
uses: actions/cache@v2
with:
path: |
**/react/node_modules
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
- name: Build Jar and launch4j - name: Build Jar and launch4j
uses: eskatos/gradle-command-action@v1 uses: eskatos/gradle-command-action@v1