aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Vijay A <vraravam@users.noreply.github.com>2024-02-10 13:23:37 +0530
committerLibravatar Vijay Aravamudhan <vraravam@users.noreply.github.com>2024-02-10 10:14:41 +0000
commit13262669550a3a4bac9fdbf786af3952ad224f75 (patch)
treedafe95b7281d9a06e05039697d03fbc8cecdc05d
parentfeat(i18n): new Crowdin updates (#1534) (diff)
downloadferdium-app-13262669550a3a4bac9fdbf786af3952ad224f75.tar.gz
ferdium-app-13262669550a3a4bac9fdbf786af3952ad224f75.tar.zst
ferdium-app-13262669550a3a4bac9fdbf786af3952ad224f75.zip
upgrade GHA actions to newer versions
-rw-r--r--.github/workflows/builds.yml28
m---------recipes0
2 files changed, 14 insertions, 14 deletions
diff --git a/.github/workflows/builds.yml b/.github/workflows/builds.yml
index bb0984368..6ad31da9e 100644
--- a/.github/workflows/builds.yml
+++ b/.github/workflows/builds.yml
@@ -47,7 +47,7 @@ jobs:
47 submodules: recursive 47 submodules: recursive
48 fetch-depth: 0 # Note: Needed to be able to pull the 'develop' branch as well for merging 48 fetch-depth: 0 # Note: Needed to be able to pull the 'develop' branch as well for merging
49 - name: Install pnpm 49 - name: Install pnpm
50 uses: pnpm/action-setup@v2 50 uses: pnpm/action-setup@v3
51 if: ${{ github.event_name == 'schedule' || (github.event_name == 'workflow_dispatch' && contains(github.event.inputs.message, '[nightly branch]')) }} 51 if: ${{ github.event_name == 'schedule' || (github.event_name == 'workflow_dispatch' && contains(github.event.inputs.message, '[nightly branch]')) }}
52 - name: Use Node.js specified in the '.nvmrc' file 52 - name: Use Node.js specified in the '.nvmrc' file
53 uses: actions/setup-node@v4 53 uses: actions/setup-node@v4
@@ -57,7 +57,7 @@ jobs:
57 cache: 'pnpm' 57 cache: 'pnpm'
58 - name: Install node dependencies 58 - name: Install node dependencies
59 if: ${{ github.event_name == 'schedule' || (github.event_name == 'workflow_dispatch' && contains(github.event.inputs.message, '[nightly branch]')) }} 59 if: ${{ github.event_name == 'schedule' || (github.event_name == 'workflow_dispatch' && contains(github.event.inputs.message, '[nightly branch]')) }}
60 uses: nick-fields/retry@v2 60 uses: nick-fields/retry@v3
61 with: 61 with:
62 command: pnpm i 62 command: pnpm i
63 timeout_minutes: 15 63 timeout_minutes: 15
@@ -157,28 +157,28 @@ jobs:
157 run: echo "GIT_BRANCH_NAME=$(git rev-parse --abbrev-ref HEAD)" >> $GITHUB_ENV 157 run: echo "GIT_BRANCH_NAME=$(git rev-parse --abbrev-ref HEAD)" >> $GITHUB_ENV
158 shell: bash 158 shell: bash
159 - name: Cache electron modules 159 - name: Cache electron modules
160 uses: actions/cache@v3 160 uses: actions/cache@v4
161 env: 161 env:
162 cache-name: cache-electron-modules 162 cache-name: cache-electron-modules
163 with: 163 with:
164 key: ${{ runner.os }}-${{ env.cache-name }}-${{ secrets.CACHE_VERSION }}-${{ hashFiles('./pnpm-lock.yaml') }} 164 key: ${{ runner.os }}-${{ env.cache-name }}-${{ secrets.CACHE_VERSION }}-${{ hashFiles('./pnpm-lock.yaml') }}
165 path: ${{ env.ELECTRON_CACHE }} 165 path: ${{ env.ELECTRON_CACHE }}
166 - name: Cache electron-builder modules 166 - name: Cache electron-builder modules
167 uses: actions/cache@v3 167 uses: actions/cache@v4
168 env: 168 env:
169 cache-name: cache-electron-builder-modules 169 cache-name: cache-electron-builder-modules
170 with: 170 with:
171 key: ${{ runner.os }}-${{ env.cache-name }}-${{ secrets.CACHE_VERSION }}-${{ hashFiles('./pnpm-lock.yaml') }} 171 key: ${{ runner.os }}-${{ env.cache-name }}-${{ secrets.CACHE_VERSION }}-${{ hashFiles('./pnpm-lock.yaml') }}
172 path: ${{ env.ELECTRON_BUILDER_CACHE }} 172 path: ${{ env.ELECTRON_BUILDER_CACHE }}
173 - name: Install pnpm 173 - name: Install pnpm
174 uses: pnpm/action-setup@v2 174 uses: pnpm/action-setup@v3
175 - name: Use Node.js specified in the '.nvmrc' file 175 - name: Use Node.js specified in the '.nvmrc' file
176 uses: actions/setup-node@v4 176 uses: actions/setup-node@v4
177 with: 177 with:
178 node-version-file: '.nvmrc' 178 node-version-file: '.nvmrc'
179 cache: 'pnpm' 179 cache: 'pnpm'
180 - name: Install node dependencies 180 - name: Install node dependencies
181 uses: nick-fields/retry@v2 181 uses: nick-fields/retry@v3
182 with: 182 with:
183 command: pnpm i 183 command: pnpm i
184 timeout_minutes: 15 184 timeout_minutes: 15
@@ -236,28 +236,28 @@ jobs:
236 run: echo "GIT_BRANCH_NAME=$(git rev-parse --abbrev-ref HEAD)" >> $GITHUB_ENV 236 run: echo "GIT_BRANCH_NAME=$(git rev-parse --abbrev-ref HEAD)" >> $GITHUB_ENV
237 shell: bash 237 shell: bash
238 - name: Cache electron modules 238 - name: Cache electron modules
239 uses: actions/cache@v3 239 uses: actions/cache@v4
240 env: 240 env:
241 cache-name: cache-electron-modules 241 cache-name: cache-electron-modules
242 with: 242 with:
243 key: ${{ runner.os }}-${{ env.cache-name }}-${{ secrets.CACHE_VERSION }}-${{ hashFiles('./pnpm-lock.yaml') }} 243 key: ${{ runner.os }}-${{ env.cache-name }}-${{ secrets.CACHE_VERSION }}-${{ hashFiles('./pnpm-lock.yaml') }}
244 path: ${{ env.ELECTRON_CACHE }} 244 path: ${{ env.ELECTRON_CACHE }}
245 - name: Cache electron-builder modules 245 - name: Cache electron-builder modules
246 uses: actions/cache@v3 246 uses: actions/cache@v4
247 env: 247 env:
248 cache-name: cache-electron-builder-modules 248 cache-name: cache-electron-builder-modules
249 with: 249 with:
250 key: ${{ runner.os }}-${{ env.cache-name }}-${{ secrets.CACHE_VERSION }}-${{ hashFiles('./pnpm-lock.yaml') }} 250 key: ${{ runner.os }}-${{ env.cache-name }}-${{ secrets.CACHE_VERSION }}-${{ hashFiles('./pnpm-lock.yaml') }}
251 path: ${{ env.ELECTRON_BUILDER_CACHE }} 251 path: ${{ env.ELECTRON_BUILDER_CACHE }}
252 - name: Install pnpm 252 - name: Install pnpm
253 uses: pnpm/action-setup@v2 253 uses: pnpm/action-setup@v3
254 - name: Use Node.js specified in the '.nvmrc' file 254 - name: Use Node.js specified in the '.nvmrc' file
255 uses: actions/setup-node@v4 255 uses: actions/setup-node@v4
256 with: 256 with:
257 node-version-file: '.nvmrc' 257 node-version-file: '.nvmrc'
258 cache: 'pnpm' 258 cache: 'pnpm'
259 - name: Install node dependencies 259 - name: Install node dependencies
260 uses: nick-fields/retry@v2 260 uses: nick-fields/retry@v3
261 with: 261 with:
262 command: pnpm i 262 command: pnpm i
263 timeout_minutes: 15 263 timeout_minutes: 15
@@ -336,21 +336,21 @@ jobs:
336 run: echo "GIT_BRANCH_NAME=$(git rev-parse --abbrev-ref HEAD)" >> $GITHUB_ENV 336 run: echo "GIT_BRANCH_NAME=$(git rev-parse --abbrev-ref HEAD)" >> $GITHUB_ENV
337 shell: bash 337 shell: bash
338 - name: Cache electron modules 338 - name: Cache electron modules
339 uses: actions/cache@v3 339 uses: actions/cache@v4
340 env: 340 env:
341 cache-name: cache-electron-modules 341 cache-name: cache-electron-modules
342 with: 342 with:
343 key: ${{ runner.os }}-${{ env.cache-name }}-${{ secrets.CACHE_VERSION }}-${{ hashFiles('./pnpm-lock.yaml') }} 343 key: ${{ runner.os }}-${{ env.cache-name }}-${{ secrets.CACHE_VERSION }}-${{ hashFiles('./pnpm-lock.yaml') }}
344 path: ${{ env.ELECTRON_CACHE }} 344 path: ${{ env.ELECTRON_CACHE }}
345 - name: Cache electron-builder modules 345 - name: Cache electron-builder modules
346 uses: actions/cache@v3 346 uses: actions/cache@v4
347 env: 347 env:
348 cache-name: cache-electron-builder-modules 348 cache-name: cache-electron-builder-modules
349 with: 349 with:
350 key: ${{ runner.os }}-${{ env.cache-name }}-${{ secrets.CACHE_VERSION }}-${{ hashFiles('./pnpm-lock.yaml') }} 350 key: ${{ runner.os }}-${{ env.cache-name }}-${{ secrets.CACHE_VERSION }}-${{ hashFiles('./pnpm-lock.yaml') }}
351 path: ${{ env.ELECTRON_BUILDER_CACHE }} 351 path: ${{ env.ELECTRON_BUILDER_CACHE }}
352 - name: Install pnpm 352 - name: Install pnpm
353 uses: pnpm/action-setup@v2 353 uses: pnpm/action-setup@v3
354 - name: Use Node.js specified in the '.nvmrc' file 354 - name: Use Node.js specified in the '.nvmrc' file
355 uses: actions/setup-node@v4 355 uses: actions/setup-node@v4
356 with: 356 with:
@@ -365,7 +365,7 @@ jobs:
365 sed -i 's/\/usr\/bin\/env node/node/g' "$PNPM_BASEDIR/pnpm/bin/pnpm.cjs" 365 sed -i 's/\/usr\/bin\/env node/node/g' "$PNPM_BASEDIR/pnpm/bin/pnpm.cjs"
366 shell: bash 366 shell: bash
367 - name: Install node dependencies 367 - name: Install node dependencies
368 uses: nick-fields/retry@v2 368 uses: nick-fields/retry@v3
369 with: 369 with:
370 command: pnpm i 370 command: pnpm i
371 timeout_minutes: 15 371 timeout_minutes: 15
diff --git a/recipes b/recipes
Subproject 502528751b3b0594e63fed20aa83d04e37ac702 Subproject 73845dfa016c94de009be5057d793cdaabbb57b