diff options
author | Vijay A <vraravam@users.noreply.github.com> | 2021-11-07 06:04:27 +0530 |
---|---|---|
committer | Vijay Aravamudhan <vraravam@users.noreply.github.com> | 2021-11-07 06:21:07 +0530 |
commit | 45554af7a3bdc068e974be6ae54164bef447ec0e (patch) | |
tree | 3deeacf91a11895c18f1f659937541ec6faebcc9 /.github/workflows | |
parent | chore: upgrade npm modules so that they build on ARM macs (diff) | |
download | ferdium-app-45554af7a3bdc068e974be6ae54164bef447ec0e.tar.gz ferdium-app-45554af7a3bdc068e974be6ae54164bef447ec0e.tar.zst ferdium-app-45554af7a3bdc068e974be6ae54164bef447ec0e.zip |
chore: don't use npm cache (since it breaks CI builds randomly)
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/dependency-updates.yml | 17 | ||||
-rw-r--r-- | .github/workflows/ferdi-builds.yml | 51 |
2 files changed, 0 insertions, 68 deletions
diff --git a/.github/workflows/dependency-updates.yml b/.github/workflows/dependency-updates.yml index f49c676df..4f5e68332 100644 --- a/.github/workflows/dependency-updates.yml +++ b/.github/workflows/dependency-updates.yml | |||
@@ -31,23 +31,6 @@ jobs: | |||
31 | run: | | 31 | run: | |
32 | echo "GIT_BRANCH_NAME=$(git rev-parse --abbrev-ref HEAD)" >> $GITHUB_ENV | 32 | echo "GIT_BRANCH_NAME=$(git rev-parse --abbrev-ref HEAD)" >> $GITHUB_ENV |
33 | shell: bash | 33 | shell: bash |
34 | - name: Cache node modules | ||
35 | uses: actions/cache@v2 | ||
36 | env: | ||
37 | cache-name: cache-node-modules | ||
38 | with: | ||
39 | path: ${{ env.NPM_CACHE }} | ||
40 | key: ${{ runner.os }}-16.13-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} | ||
41 | restore-keys: | | ||
42 | ${{ runner.os }}-16.13-build-${{ env.cache-name }}- | ||
43 | ${{ runner.os }}-16.13-build- | ||
44 | - name: Cache pnpm modules | ||
45 | uses: actions/cache@v2 | ||
46 | env: | ||
47 | cache-name: cache-pnpm-store | ||
48 | with: | ||
49 | path: ${{ env.PNPM_CACHE }} | ||
50 | key: ${{ runner.os }}-16.13-build-${{ env.cache-name }}-${{ hashFiles('**/pnpm-lock.yaml') }} | ||
51 | - name: Use Node.js 16.13.0 | 34 | - name: Use Node.js 16.13.0 |
52 | uses: actions/setup-node@v2 | 35 | uses: actions/setup-node@v2 |
53 | with: | 36 | with: |
diff --git a/.github/workflows/ferdi-builds.yml b/.github/workflows/ferdi-builds.yml index ccd520fa5..b15ba44a1 100644 --- a/.github/workflows/ferdi-builds.yml +++ b/.github/workflows/ferdi-builds.yml | |||
@@ -120,23 +120,6 @@ jobs: | |||
120 | - name: Extract Git branch name from the currently checked out branch (not from the branch where this run was kicked off) | 120 | - name: Extract Git branch name from the currently checked out branch (not from the branch where this run was kicked off) |
121 | run: echo "GIT_BRANCH_NAME=$(git rev-parse --abbrev-ref HEAD)" >> $GITHUB_ENV | 121 | run: echo "GIT_BRANCH_NAME=$(git rev-parse --abbrev-ref HEAD)" >> $GITHUB_ENV |
122 | shell: bash | 122 | shell: bash |
123 | - name: Cache node modules | ||
124 | uses: actions/cache@v2 | ||
125 | env: | ||
126 | cache-name: cache-node-modules | ||
127 | with: | ||
128 | path: ${{ env.NPM_CACHE }} | ||
129 | key: ${{ runner.os }}-16.13-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} | ||
130 | restore-keys: | | ||
131 | ${{ runner.os }}-16.13-build-${{ env.cache-name }}- | ||
132 | ${{ runner.os }}-16.13-build- | ||
133 | - name: Cache pnpm modules | ||
134 | uses: actions/cache@v2 | ||
135 | env: | ||
136 | cache-name: cache-pnpm-store | ||
137 | with: | ||
138 | path: ${{ env.PNPM_CACHE }} | ||
139 | key: ${{ runner.os }}-16.13-build-${{ env.cache-name }}-${{ hashFiles('**/pnpm-lock.yaml') }} | ||
140 | - name: Cache electron modules | 123 | - name: Cache electron modules |
141 | uses: actions/cache@v2 | 124 | uses: actions/cache@v2 |
142 | env: | 125 | env: |
@@ -219,23 +202,6 @@ jobs: | |||
219 | - name: Extract Git branch name from the currently checked out branch (not from the branch where this run was kicked off) | 202 | - name: Extract Git branch name from the currently checked out branch (not from the branch where this run was kicked off) |
220 | run: echo "GIT_BRANCH_NAME=$(git rev-parse --abbrev-ref HEAD)" >> $GITHUB_ENV | 203 | run: echo "GIT_BRANCH_NAME=$(git rev-parse --abbrev-ref HEAD)" >> $GITHUB_ENV |
221 | shell: bash | 204 | shell: bash |
222 | - name: Cache node modules | ||
223 | uses: actions/cache@v2 | ||
224 | env: | ||
225 | cache-name: cache-node-modules | ||
226 | with: | ||
227 | path: ${{ env.NPM_CACHE }} | ||
228 | key: ${{ runner.os }}-16.13-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} | ||
229 | restore-keys: | | ||
230 | ${{ runner.os }}-16.13-build-${{ env.cache-name }}- | ||
231 | ${{ runner.os }}-16.13-build- | ||
232 | - name: Cache pnpm modules | ||
233 | uses: actions/cache@v2 | ||
234 | env: | ||
235 | cache-name: cache-pnpm-store | ||
236 | with: | ||
237 | path: ${{ env.PNPM_CACHE }} | ||
238 | key: ${{ runner.os }}-16.13-build-${{ env.cache-name }}-${{ hashFiles('**/pnpm-lock.yaml') }} | ||
239 | - name: Cache electron modules | 205 | - name: Cache electron modules |
240 | uses: actions/cache@v2 | 206 | uses: actions/cache@v2 |
241 | env: | 207 | env: |
@@ -339,23 +305,6 @@ jobs: | |||
339 | - name: Extract Git branch name from the currently checked out branch (not from the branch where this run was kicked off) | 305 | - name: Extract Git branch name from the currently checked out branch (not from the branch where this run was kicked off) |
340 | run: echo "GIT_BRANCH_NAME=$(git rev-parse --abbrev-ref HEAD)" >> $GITHUB_ENV | 306 | run: echo "GIT_BRANCH_NAME=$(git rev-parse --abbrev-ref HEAD)" >> $GITHUB_ENV |
341 | shell: bash | 307 | shell: bash |
342 | - name: Cache node modules | ||
343 | uses: actions/cache@v2 | ||
344 | env: | ||
345 | cache-name: cache-node-modules | ||
346 | with: | ||
347 | path: ${{ env.NPM_CACHE }} | ||
348 | key: ${{ runner.os }}-16.13-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} | ||
349 | restore-keys: | | ||
350 | ${{ runner.os }}-16.13-build-${{ env.cache-name }}- | ||
351 | ${{ runner.os }}-16.13-build- | ||
352 | - name: Cache pnpm modules | ||
353 | uses: actions/cache@v2 | ||
354 | env: | ||
355 | cache-name: cache-pnpm-store | ||
356 | with: | ||
357 | path: ${{ env.PNPM_CACHE }} | ||
358 | key: ${{ runner.os }}-16.13-build-${{ env.cache-name }}-${{ hashFiles('**/pnpm-lock.yaml') }} | ||
359 | - name: Cache electron modules | 308 | - name: Cache electron modules |
360 | uses: actions/cache@v2 | 309 | uses: actions/cache@v2 |
361 | env: | 310 | env: |