diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a388d0a..abee027 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -53,6 +53,13 @@ jobs: cd master 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 uses: eskatos/gradle-command-action@v1 with: diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 9a5e3ce..0b462dc 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -51,6 +51,12 @@ jobs: cd master 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 uses: eskatos/gradle-command-action@v1