Skip to content

Commit c5af77d

Browse files
authored
Update build.yml
1 parent d99e577 commit c5af77d

File tree

1 file changed

+18
-3
lines changed

1 file changed

+18
-3
lines changed

.github/workflows/build.yml

+18-3
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ on:
1616
- 'static/**'
1717
- '*.md'
1818
tags:
19-
- '[0-9]+.[0-9]+.[0-9]+*'
19+
- '[0-9]+.[0-9]+.[0-9]+*'
2020
workflow_dispatch:
2121
inputs:
2222
paid-runners:
@@ -133,6 +133,18 @@ 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-arm
139+
container: |
140+
null
141+
job-transfer-artifact-suffix: ARM_64bit
142+
mergeable-channel-file: 'true'
143+
artifacts:
144+
- path: '*Linux_arm64.zip'
145+
name: Linux_arm64_zip
146+
- path: '*Linux_arm64.AppImage'
147+
name: Linux_arm64_app_image
136148
PAID_RUNNER_BUILD_DATA: |
137149
# This system was implemented to allow selective use of paid GitHub-hosted runners, due to the Apple Silicon runner
138150
# incurring a charge at that time. Free Apple Silicon runners are now available so the configuration was moved to
@@ -290,7 +302,7 @@ jobs:
290302
# to skip passing signing credentials to electron-builder
291303
IS_WINDOWS_CONFIG: ${{ matrix.config.name == 'Windows' }}
292304
INSTALLER_CERT_WINDOWS_CER: "/tmp/cert.cer"
293-
# We are hardcoding the path for signtool because is not present on the windows PATH env var by default.
305+
# We are hardcoding the path for signtool because it is not present on the Windows PATH env var by default.
294306
# Keep in mind that this path could change when upgrading to a new runner version
295307
SIGNTOOL_PATH: "C:/Program Files (x86)/Windows Kits/10/bin/10.0.19041.0/x86/signtool.exe"
296308
WIN_CERT_PASSWORD: ${{ secrets[matrix.config.certificate-password-secret] }}
@@ -310,6 +322,10 @@ jobs:
310322
timeout-minutes: 90
311323

312324
steps:
325+
- name: Install Chromium (ARM only)
326+
if: matrix.config.name == 'ARM Ubuntu 22.04'
327+
run: sudo apt-get update && sudo apt-get install -y chromium-browser
328+
313329
- name: Symlink custom working directory
314330
shell: cmd
315331
if: runner.os == 'Windows' && matrix.config.working-directory
@@ -319,7 +335,6 @@ jobs:
319335
- name: Checkout
320336
uses: actions/checkout@v4
321337

322-
323338
- name: Install Node.js
324339
if: runner.name != 'WINDOWS-SIGN-PC'
325340
uses: actions/setup-node@v4

0 commit comments

Comments
 (0)