Skip to content

Commit caa8f5d

Browse files
author
{your_name}
committed
test again
1 parent 3335575 commit caa8f5d

File tree

1 file changed

+16
-6
lines changed

1 file changed

+16
-6
lines changed

.github/workflows/build.yml

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
paths-ignore:
1010
- '.github/**'
1111
- '!.github/workflows/build.yml'
12-
- '.vscode/**'
12+
- '.vscode/**''
1313
- 'docs/**'
1414
- 'scripts/**'
1515
- '!scripts/merge-channel-files.js'
@@ -133,6 +133,16 @@ env:
133133
name: macOS_arm64_dmg
134134
- path: '*macOS_arm64.zip'
135135
name: macOS_arm64_zip
136+
- config:
137+
name: ARM Ubuntu 22.04
138+
runs-on: ubuntu-22.04-arm64
139+
container: |
140+
null
141+
job-transfer-artifact-suffix: ARM_64bit
142+
mergeable-channel-file: 'false'
143+
artifacts:
144+
- path: '*ARM_64bit.tar.gz'
145+
name: ARM_64bit_tarball
136146
PAID_RUNNER_BUILD_DATA: |
137147
# This system was implemented to allow selective use of paid GitHub-hosted runners, due to the Apple Silicon runner
138148
# incurring a charge at that time. Free Apple Silicon runners are now available so the configuration was moved to
@@ -289,8 +299,7 @@ jobs:
289299
# to skip passing signing credentials to electron-builder
290300
IS_WINDOWS_CONFIG: ${{ matrix.config.name == 'Windows' }}
291301
INSTALLER_CERT_WINDOWS_CER: "/tmp/cert.cer"
292-
# We are hardcoding the path for signtool because is not present on the windows PATH env var by default.
293-
# Keep in mind that this path could change when upgrading to a new runner version
302+
# We are hardcoding the path for signtool because it is not present on the Windows PATH env var by default.
294303
SIGNTOOL_PATH: "C:/Program Files (x86)/Windows Kits/10/bin/10.0.19041.0/x86/signtool.exe"
295304
WIN_CERT_PASSWORD: ${{ secrets[matrix.config.certificate-password-secret] }}
296305
WIN_CERT_CONTAINER_NAME: ${{ secrets[matrix.config.certificate-container] }}
@@ -308,6 +317,10 @@ jobs:
308317
timeout-minutes: 90
309318

310319
steps:
320+
- name: Install Chromium (ARM only)
321+
if: matrix.config.name == 'ARM Ubuntu 22.04'
322+
run: sudo apt-get update && sudo apt-get install -y chromium-browser
323+
311324
- name: Symlink custom working directory
312325
shell: cmd
313326
if: runner.os == 'Windows' && matrix.config.working-directory
@@ -317,15 +330,12 @@ jobs:
317330
- name: Checkout
318331
uses: actions/checkout@v4
319332

320-
321333
- name: Install Node.js
322334
if: runner.name != 'WINDOWS-SIGN-PC'
323335
uses: actions/setup-node@v4
324336
with:
325337
node-version: ${{ env.NODE_VERSION }}
326338
registry-url: 'https://registry.npmjs.org'
327-
# Yarn is a prerequisite for the action's cache feature, so caching should be disabled when running in the
328-
# container where Yarn is not pre-installed.
329339
cache: ${{ fromJSON(matrix.config.container) == null && 'yarn' || null }}
330340

331341
- name: Install Yarn

0 commit comments

Comments
 (0)