aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorLibravatar Vijay A <vraravam@users.noreply.github.com>2022-04-20 06:26:34 -0500
committerLibravatar Vijay A <vraravam@users.noreply.github.com>2022-04-20 06:32:45 -0500
commit7df3cffde2b80ed8e280685ee9c8da1e8a06f6da (patch)
tree34e8be609a3b40b39089c8135fa0528f556fd29a /.github
parentUpdated 'recipes' subdmodule (diff)
downloadferdium-app-7df3cffde2b80ed8e280685ee9c8da1e8a06f6da.tar.gz
ferdium-app-7df3cffde2b80ed8e280685ee9c8da1e8a06f6da.tar.zst
ferdium-app-7df3cffde2b80ed8e280685ee9c8da1e8a06f6da.zip
Upgrade GH Actions libs
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/builds.yml30
-rw-r--r--.github/workflows/dependency-updates.yml4
2 files changed, 17 insertions, 17 deletions
diff --git a/.github/workflows/builds.yml b/.github/workflows/builds.yml
index 5e94b6b9e..5a9ee79aa 100644
--- a/.github/workflows/builds.yml
+++ b/.github/workflows/builds.yml
@@ -40,7 +40,7 @@ jobs:
40 should_run: ${{ steps.should_run.outputs.should_run }} 40 should_run: ${{ steps.should_run.outputs.should_run }}
41 steps: 41 steps:
42 - name: Checkout code along with submodules for the 'nightly' branch if the trigger event is 'scheduled' 42 - name: Checkout code along with submodules for the 'nightly' branch if the trigger event is 'scheduled'
43 uses: actions/checkout@v2 43 uses: actions/checkout@v3
44 if: ${{ github.event_name == 'schedule' || (github.event_name == 'workflow_dispatch' && contains(github.event.inputs.message, '[nightly branch]')) }} 44 if: ${{ github.event_name == 'schedule' || (github.event_name == 'workflow_dispatch' && contains(github.event.inputs.message, '[nightly branch]')) }}
45 with: 45 with:
46 ref: nightly 46 ref: nightly
@@ -48,7 +48,7 @@ jobs:
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 # ssh-key: ${{ secrets.FERDIUM_PUBLISH_TOKEN }} 49 # ssh-key: ${{ secrets.FERDIUM_PUBLISH_TOKEN }}
50 - name: Use Node.js specified in the '.nvmrc' file 50 - name: Use Node.js specified in the '.nvmrc' file
51 uses: actions/setup-node@v2 51 uses: actions/setup-node@v3
52 if: ${{ github.event_name == 'schedule' || (github.event_name == 'workflow_dispatch' && contains(github.event.inputs.message, '[nightly branch]')) }} 52 if: ${{ github.event_name == 'schedule' || (github.event_name == 'workflow_dispatch' && contains(github.event.inputs.message, '[nightly branch]')) }}
53 with: 53 with:
54 node-version-file: '.nvmrc' 54 node-version-file: '.nvmrc'
@@ -106,13 +106,13 @@ jobs:
106 echo "ELECTRON_BUILDER_CACHE=$HOME/.cache/electron-builder" >> $GITHUB_ENV 106 echo "ELECTRON_BUILDER_CACHE=$HOME/.cache/electron-builder" >> $GITHUB_ENV
107 echo "MANUAL_REBUILD_ON_NIGHTLY=${{ github.event_name == 'workflow_dispatch' && contains(github.event.inputs.message, '[nightly branch]') }}" >> $GITHUB_ENV 107 echo "MANUAL_REBUILD_ON_NIGHTLY=${{ github.event_name == 'workflow_dispatch' && contains(github.event.inputs.message, '[nightly branch]') }}" >> $GITHUB_ENV
108 - name: Checkout code along with submodules for the 'nightly' branch if the trigger event is 'scheduled' or this is a forced rebuild on the nightly branch 108 - name: Checkout code along with submodules for the 'nightly' branch if the trigger event is 'scheduled' or this is a forced rebuild on the nightly branch
109 uses: actions/checkout@v2 109 uses: actions/checkout@v3
110 if: ${{ github.event_name == 'schedule' || env.MANUAL_REBUILD_ON_NIGHTLY == 'true' }} 110 if: ${{ github.event_name == 'schedule' || env.MANUAL_REBUILD_ON_NIGHTLY == 'true' }}
111 with: 111 with:
112 submodules: recursive 112 submodules: recursive
113 ref: nightly 113 ref: nightly
114 - name: Checkout code along with submodules for any branch if the trigger event is NOT 'scheduled' and this is NOT a forced rebuild on the nightly branch 114 - name: Checkout code along with submodules for any branch if the trigger event is NOT 'scheduled' and this is NOT a forced rebuild on the nightly branch
115 uses: actions/checkout@v2 115 uses: actions/checkout@v3
116 if: ${{ github.event_name != 'schedule' && env.MANUAL_REBUILD_ON_NIGHTLY != 'true' }} 116 if: ${{ github.event_name != 'schedule' && env.MANUAL_REBUILD_ON_NIGHTLY != 'true' }}
117 with: 117 with:
118 submodules: recursive 118 submodules: recursive
@@ -120,21 +120,21 @@ jobs:
120 run: echo "GIT_BRANCH_NAME=$(git rev-parse --abbrev-ref HEAD)" >> $GITHUB_ENV 120 run: echo "GIT_BRANCH_NAME=$(git rev-parse --abbrev-ref HEAD)" >> $GITHUB_ENV
121 shell: bash 121 shell: bash
122 - name: Cache electron modules 122 - name: Cache electron modules
123 uses: actions/cache@v2 123 uses: actions/cache@v3
124 env: 124 env:
125 cache-name: cache-electron-modules 125 cache-name: cache-electron-modules
126 with: 126 with:
127 key: ${{ runner.os }}-${{ env.cache-name }} 127 key: ${{ runner.os }}-${{ env.cache-name }}
128 path: ${{ env.ELECTRON_CACHE }} 128 path: ${{ env.ELECTRON_CACHE }}
129 - name: Cache electron-builder modules 129 - name: Cache electron-builder modules
130 uses: actions/cache@v2 130 uses: actions/cache@v3
131 env: 131 env:
132 cache-name: cache-electron-builder-modules 132 cache-name: cache-electron-builder-modules
133 with: 133 with:
134 key: ${{ runner.os }}-${{ env.cache-name }} 134 key: ${{ runner.os }}-${{ env.cache-name }}
135 path: ${{ env.ELECTRON_BUILDER_CACHE }} 135 path: ${{ env.ELECTRON_BUILDER_CACHE }}
136 - name: Use Node.js specified in the '.nvmrc' file 136 - name: Use Node.js specified in the '.nvmrc' file
137 uses: actions/setup-node@v2 137 uses: actions/setup-node@v3
138 with: 138 with:
139 node-version-file: '.nvmrc' 139 node-version-file: '.nvmrc'
140 - name: Install npm 140 - name: Install npm
@@ -193,13 +193,13 @@ jobs:
193 echo "ELECTRON_BUILDER_CACHE=$HOME/.cache/electron-builder" >> $GITHUB_ENV 193 echo "ELECTRON_BUILDER_CACHE=$HOME/.cache/electron-builder" >> $GITHUB_ENV
194 echo "MANUAL_REBUILD_ON_NIGHTLY=${{ github.event_name == 'workflow_dispatch' && contains(github.event.inputs.message, '[nightly branch]') }}" >> $GITHUB_ENV 194 echo "MANUAL_REBUILD_ON_NIGHTLY=${{ github.event_name == 'workflow_dispatch' && contains(github.event.inputs.message, '[nightly branch]') }}" >> $GITHUB_ENV
195 - name: Checkout code along with submodules for the 'nightly' branch if the trigger event is 'scheduled' or this is a forced rebuild on the nightly branch 195 - name: Checkout code along with submodules for the 'nightly' branch if the trigger event is 'scheduled' or this is a forced rebuild on the nightly branch
196 uses: actions/checkout@v2 196 uses: actions/checkout@v3
197 if: ${{ github.event_name == 'schedule' || env.MANUAL_REBUILD_ON_NIGHTLY == 'true' }} 197 if: ${{ github.event_name == 'schedule' || env.MANUAL_REBUILD_ON_NIGHTLY == 'true' }}
198 with: 198 with:
199 submodules: recursive 199 submodules: recursive
200 ref: nightly 200 ref: nightly
201 - name: Checkout code along with submodules for any branch if the trigger event is NOT 'scheduled' and this is NOT a forced rebuild on the nightly branch 201 - name: Checkout code along with submodules for any branch if the trigger event is NOT 'scheduled' and this is NOT a forced rebuild on the nightly branch
202 uses: actions/checkout@v2 202 uses: actions/checkout@v3
203 if: ${{ github.event_name != 'schedule' && env.MANUAL_REBUILD_ON_NIGHTLY != 'true' }} 203 if: ${{ github.event_name != 'schedule' && env.MANUAL_REBUILD_ON_NIGHTLY != 'true' }}
204 with: 204 with:
205 submodules: recursive 205 submodules: recursive
@@ -207,21 +207,21 @@ jobs:
207 run: echo "GIT_BRANCH_NAME=$(git rev-parse --abbrev-ref HEAD)" >> $GITHUB_ENV 207 run: echo "GIT_BRANCH_NAME=$(git rev-parse --abbrev-ref HEAD)" >> $GITHUB_ENV
208 shell: bash 208 shell: bash
209 - name: Cache electron modules 209 - name: Cache electron modules
210 uses: actions/cache@v2 210 uses: actions/cache@v3
211 env: 211 env:
212 cache-name: cache-electron-modules 212 cache-name: cache-electron-modules
213 with: 213 with:
214 key: ${{ runner.os }}-${{ env.cache-name }} 214 key: ${{ runner.os }}-${{ env.cache-name }}
215 path: ${{ env.ELECTRON_CACHE }} 215 path: ${{ env.ELECTRON_CACHE }}
216 - name: Cache electron-builder modules 216 - name: Cache electron-builder modules
217 uses: actions/cache@v2 217 uses: actions/cache@v3
218 env: 218 env:
219 cache-name: cache-electron-builder-modules 219 cache-name: cache-electron-builder-modules
220 with: 220 with:
221 key: ${{ runner.os }}-${{ env.cache-name }} 221 key: ${{ runner.os }}-${{ env.cache-name }}
222 path: ${{ env.ELECTRON_BUILDER_CACHE }} 222 path: ${{ env.ELECTRON_BUILDER_CACHE }}
223 - name: Use Node.js specified in the '.nvmrc' file 223 - name: Use Node.js specified in the '.nvmrc' file
224 uses: actions/setup-node@v2 224 uses: actions/setup-node@v3
225 with: 225 with:
226 node-version-file: '.nvmrc' 226 node-version-file: '.nvmrc'
227 - name: Install npm 227 - name: Install npm
@@ -294,13 +294,13 @@ jobs:
294 echo "MANUAL_REBUILD_ON_NIGHTLY=${{ github.event_name == 'workflow_dispatch' && contains(github.event.inputs.message, '[nightly branch]') }}" >> $GITHUB_ENV 294 echo "MANUAL_REBUILD_ON_NIGHTLY=${{ github.event_name == 'workflow_dispatch' && contains(github.event.inputs.message, '[nightly branch]') }}" >> $GITHUB_ENV
295 shell: bash 295 shell: bash
296 - name: Checkout code along with submodules for the 'nightly' branch if the trigger event is 'scheduled' or this is a forced rebuild on the nightly branch 296 - name: Checkout code along with submodules for the 'nightly' branch if the trigger event is 'scheduled' or this is a forced rebuild on the nightly branch
297 uses: actions/checkout@v2 297 uses: actions/checkout@v3
298 if: ${{ github.event_name == 'schedule' || env.MANUAL_REBUILD_ON_NIGHTLY == 'true' }} 298 if: ${{ github.event_name == 'schedule' || env.MANUAL_REBUILD_ON_NIGHTLY == 'true' }}
299 with: 299 with:
300 submodules: recursive 300 submodules: recursive
301 ref: nightly 301 ref: nightly
302 - name: Checkout code along with submodules for any branch if the trigger event is NOT 'scheduled' and this is NOT a forced rebuild on the nightly branch 302 - name: Checkout code along with submodules for any branch if the trigger event is NOT 'scheduled' and this is NOT a forced rebuild on the nightly branch
303 uses: actions/checkout@v2 303 uses: actions/checkout@v3
304 if: ${{ github.event_name != 'schedule' && env.MANUAL_REBUILD_ON_NIGHTLY != 'true' }} 304 if: ${{ github.event_name != 'schedule' && env.MANUAL_REBUILD_ON_NIGHTLY != 'true' }}
305 with: 305 with:
306 submodules: recursive 306 submodules: recursive
@@ -308,7 +308,7 @@ jobs:
308 run: echo "GIT_BRANCH_NAME=$(git rev-parse --abbrev-ref HEAD)" >> $GITHUB_ENV 308 run: echo "GIT_BRANCH_NAME=$(git rev-parse --abbrev-ref HEAD)" >> $GITHUB_ENV
309 shell: bash 309 shell: bash
310 - name: Use Node.js specified in the '.nvmrc' file 310 - name: Use Node.js specified in the '.nvmrc' file
311 uses: actions/setup-node@v2 311 uses: actions/setup-node@v3
312 with: 312 with:
313 node-version-file: '.nvmrc' 313 node-version-file: '.nvmrc'
314 - name: Install npm 314 - name: Install npm
diff --git a/.github/workflows/dependency-updates.yml b/.github/workflows/dependency-updates.yml
index d8c53cbbd..1977ab2a7 100644
--- a/.github/workflows/dependency-updates.yml
+++ b/.github/workflows/dependency-updates.yml
@@ -24,7 +24,7 @@ jobs:
24 echo "NPM_CACHE=$HOME/.npm" >> $GITHUB_ENV 24 echo "NPM_CACHE=$HOME/.npm" >> $GITHUB_ENV
25 echo "PNPM_CACHE=$HOME/.pnpm-store" >> $GITHUB_ENV 25 echo "PNPM_CACHE=$HOME/.pnpm-store" >> $GITHUB_ENV
26 - name: Checkout code along with submodules 26 - name: Checkout code along with submodules
27 uses: actions/checkout@v2 27 uses: actions/checkout@v3
28 with: 28 with:
29 submodules: recursive 29 submodules: recursive
30 - name: Extract Git branch name and commit from the currently checked out branch (not from the branch where this run was kicked off) 30 - name: Extract Git branch name and commit from the currently checked out branch (not from the branch where this run was kicked off)
@@ -32,7 +32,7 @@ jobs:
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: Use Node.js specified in the '.nvmrc' file 34 - name: Use Node.js specified in the '.nvmrc' file
35 uses: actions/setup-node@v2 35 uses: actions/setup-node@v3
36 with: 36 with:
37 node-version-file: '.nvmrc' 37 node-version-file: '.nvmrc'
38 - name: Install npm 38 - name: Install npm