diff options
author | 2021-07-14 09:26:58 +0530 | |
---|---|---|
committer | 2021-07-14 10:41:54 +0530 | |
commit | d7a180c8c17cf3d6b45fd17a33064f1793d1b9bf (patch) | |
tree | 31b2764a4c68078b5c6187c730e9e600c47f0529 | |
parent | 5.6.0-nightly.85 (diff) | |
download | ferdium-app-d7a180c8c17cf3d6b45fd17a33064f1793d1b9bf.tar.gz ferdium-app-d7a180c8c17cf3d6b45fd17a33064f1793d1b9bf.tar.zst ferdium-app-d7a180c8c17cf3d6b45fd17a33064f1793d1b9bf.zip |
Trying to fix broken build due to corrupt npm cache
-rw-r--r-- | .github/workflows/dependency-updates.yml | 7 | ||||
-rw-r--r-- | .github/workflows/ferdi-builds.yml | 21 |
2 files changed, 12 insertions, 16 deletions
diff --git a/.github/workflows/dependency-updates.yml b/.github/workflows/dependency-updates.yml index 1f1a89e06..cd06b8392 100644 --- a/.github/workflows/dependency-updates.yml +++ b/.github/workflows/dependency-updates.yml | |||
@@ -36,11 +36,10 @@ jobs: | |||
36 | cache-name: cache-node-modules | 36 | cache-name: cache-node-modules |
37 | with: | 37 | with: |
38 | path: ${{ env.NPM_CACHE }} | 38 | path: ${{ env.NPM_CACHE }} |
39 | key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} | 39 | key: ${{ runner.os }}-14.17-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} |
40 | restore-keys: | | 40 | restore-keys: | |
41 | ${{ runner.os }}-build-${{ env.cache-name }}- | 41 | ${{ runner.os }}-14.17-build-${{ env.cache-name }}- |
42 | ${{ runner.os }}-build- | 42 | ${{ runner.os }}-14.17-build- |
43 | ${{ runner.os }}- | ||
44 | - name: Use Node.js 14.17.3 | 43 | - name: Use Node.js 14.17.3 |
45 | uses: actions/setup-node@v2 | 44 | uses: actions/setup-node@v2 |
46 | with: | 45 | with: |
diff --git a/.github/workflows/ferdi-builds.yml b/.github/workflows/ferdi-builds.yml index e69d03dcc..6f89fbe25 100644 --- a/.github/workflows/ferdi-builds.yml +++ b/.github/workflows/ferdi-builds.yml | |||
@@ -102,11 +102,10 @@ jobs: | |||
102 | cache-name: cache-node-modules | 102 | cache-name: cache-node-modules |
103 | with: | 103 | with: |
104 | path: ${{ env.NPM_CACHE }} | 104 | path: ${{ env.NPM_CACHE }} |
105 | key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} | 105 | key: ${{ runner.os }}-14.17-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} |
106 | restore-keys: | | 106 | restore-keys: | |
107 | ${{ runner.os }}-build-${{ env.cache-name }}- | 107 | ${{ runner.os }}-14.17-build-${{ env.cache-name }}- |
108 | ${{ runner.os }}-build- | 108 | ${{ runner.os }}-14.17-build- |
109 | ${{ runner.os }}- | ||
110 | - name: Cache electron modules | 109 | - name: Cache electron modules |
111 | uses: actions/cache@v2 | 110 | uses: actions/cache@v2 |
112 | env: | 111 | env: |
@@ -202,11 +201,10 @@ jobs: | |||
202 | cache-name: cache-node-modules | 201 | cache-name: cache-node-modules |
203 | with: | 202 | with: |
204 | path: ${{ env.NPM_CACHE }} | 203 | path: ${{ env.NPM_CACHE }} |
205 | key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} | 204 | key: ${{ runner.os }}-14.17-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} |
206 | restore-keys: | | 205 | restore-keys: | |
207 | ${{ runner.os }}-build-${{ env.cache-name }}- | 206 | ${{ runner.os }}-14.17-build-${{ env.cache-name }}- |
208 | ${{ runner.os }}-build- | 207 | ${{ runner.os }}-14.17-build- |
209 | ${{ runner.os }}- | ||
210 | - name: Cache electron modules | 208 | - name: Cache electron modules |
211 | uses: actions/cache@v2 | 209 | uses: actions/cache@v2 |
212 | env: | 210 | env: |
@@ -294,11 +292,10 @@ jobs: | |||
294 | cache-name: cache-node-modules | 292 | cache-name: cache-node-modules |
295 | with: | 293 | with: |
296 | path: ${{ env.NPM_CACHE }} | 294 | path: ${{ env.NPM_CACHE }} |
297 | key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} | 295 | key: ${{ runner.os }}-14.17-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} |
298 | restore-keys: | | 296 | restore-keys: | |
299 | ${{ runner.os }}-build-${{ env.cache-name }}- | 297 | ${{ runner.os }}-14.17-build-${{ env.cache-name }}- |
300 | ${{ runner.os }}-build- | 298 | ${{ runner.os }}-14.17-build- |
301 | ${{ runner.os }}- | ||
302 | - name: Cache electron modules | 299 | - name: Cache electron modules |
303 | uses: actions/cache@v2 | 300 | uses: actions/cache@v2 |
304 | env: | 301 | env: |