Commit graph

33 commits

Author SHA1 Message Date
Michael Telatynski
599b7b8e01
Update eSigner CKA (#1501) 2024-02-14 13:07:59 +00:00
Michael Telatynski
7fdefaab7a
Update variable-mapper to silence actions warnings (#1502) 2024-02-13 11:07:00 +00:00
R Midhun Suresh
3f82adbebc
Format 2024-01-31 19:15:14 +05:30
R Midhun Suresh
b54bd8f3e0
Use powershell throughout 2024-01-31 18:16:51 +05:30
R Midhun Suresh
88d89dd81d
Move to correct step 2024-01-31 18:03:56 +05:30
R Midhun Suresh
93524d34be
Use powershell shell instead of pwsh 2024-01-31 18:00:03 +05:30
renovate[bot]
dd5b17b6a4
Update actions/cache action to v4 (#1457)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-23 20:03:17 +00:00
Michael Telatynski
efde228da6
Add knip unused code & dependency analyser (#1441) 2024-01-18 10:10:51 +00:00
renovate[bot]
4fb2add57a
Update ilammy/msvc-dev-cmd digest to 1a76314 (#1420)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2024-01-10 01:10:54 +00:00
Michael Telatynski
69da4935b9
Switch to artifact-v4 and move packages.element.io packing to deploy workflow (#1411) 2024-01-08 12:40:59 +00:00
Michael Telatynski
927285ae54
Update build_windows.yaml 2024-01-04 09:19:22 +00:00
Michael Telatynski
6617b29028
Move electron-builder config to javascript file (#1402) 2024-01-03 16:29:48 +00:00
renovate[bot]
5f722691e7
Update actions/setup-node action to v4 (#1404)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-02 17:37:20 +00:00
renovate[bot]
b48524698f
Update actions/checkout action to v4 (#1406)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-02 17:24:45 +00:00
Michael Telatynski
058bb09bf4
Revert "Upgrade to {upload,download}-artifact@v4 for better performance" (#1396) 2023-12-20 10:01:54 +00:00
Michael Telatynski
de503fa72c
Upgrade to {upload,download}-artifact@v4 for better performance (#1390) 2023-12-19 16:12:07 +00:00
Michael Telatynski
bc97be9ab7
Stop using abandoned actions-rs/toolchain action (#1132) 2023-08-02 14:34:38 +01:00
renovate[bot]
10369e7028
Update actions-rs/toolchain digest to 88dc235 (#965)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-16 16:32:45 +00:00
Michael Telatynski
d8f5cdb40d
Specify hashes for github actions (#634) 2023-05-09 12:01:35 +01:00
Michael Telatynski
7b0040063b
Improve cache busting to consider the build scripts themselves (#633) 2023-04-26 15:04:17 +01:00
Michael Telatynski
5bd1c663e2
Use frozen lockfile instead of pure lockfile on yarn install (#605) 2023-03-31 15:17:43 +00:00
Michael Telatynski
c10e666dad
Ship linux tarball with static sqlcipher (#597) 2023-03-31 11:00:30 +01:00
Michael Telatynski
1654030c5f
Iterate ARM support in CI (#587) 2023-03-23 13:22:29 +00:00
Michael Telatynski
7a1a0fabdb
Add support for Windows arm64 (#423) 2023-03-22 09:41:51 +00:00
Michael Telatynski
74579317db
Switch to production ssl.com cert (#585) 2023-03-20 08:17:34 +00:00
Michael Telatynski
126d2c336b
Assert release & nightly builds are signed, notarised & accessible before deployment (#559) 2023-03-06 08:56:49 +00:00
Michael Telatynski
b858e45eee
Fix invalid JSON 2023-02-27 10:52:25 +00:00
Michael Telatynski
3656125552
Fix Windows deploy path 2023-02-27 10:47:40 +00:00
Michael Telatynski
a0a9ec830c
Build & EV Sign Windows builds (#517
* Add way to provide apple ID and app password to notarise script

* Add utility to generate electron-builder.json for release & nightly builds

* Run Build & Test on staging too

* First attempt at build & deploy for macOS with signing and notarisation

* Fix quote mismatch

* use correct quotes

* add runs-on

* Fix inputs.mode usage

* remove quotes

* chmod +x

* Fix artifact paths

* Fix deploy condition

* Fix deploy condition

* Fix artifact path

* Iterate

* Fix workflow

* Fix env

* Iterate

* Fix missing env

* Fix version calculation

* Iterate

* Fix config not taking effect

* Update build_and_deploy.yaml

* Fix alignments

* delint

* Fix alignment

* Update build_macos.yaml

* Add ability to EV sign using eSigner CKA

* Initial work to build & sign Windows nightlies in CI

* Format

* Format

* Fix gha

* fix winSign

* Fix install command

* Add signtool to path

* Update build_and_deploy.yaml

* Fix quotes

* Test

* Fix comments

* Fix cmd

* Try again

* arg slashes

* Fix exe path

* Fix matrix strategy

* Use ampersand-call

* fwd slash ftw?

* ls *

* 🌲

* tree dist

* prepend path

* Specify /fd and /td to modern signtool

* /tr not /t for CKA

* Test signing

* missing comma

* 🤦‍♂️

* Fix wrong mv

* Lets sign

* Fix config gen

* Debug

* Fix typo

* Multiple drives why

* Try NVL sandbox creds

* Update

* Attempt to disable logger

* Try again

* Iterate

* Update build_macos.yaml

* Update build_and_deploy.yaml

* Update build_macos.yaml

* Update build_and_deploy.yaml

* Update build_and_deploy.yaml

* Try custom build of eSigner CKA

* Fix typos

* Update build_windows.yaml

* Update build_and_deploy.yaml

* Update build_windows.yaml

* Update build_and_deploy.yaml

* Fix symlinking

* Fix working-directory incantation

* exe

* remove debug

* Prettier

* Vendor check in SSL.com executable

* Download CKA from packages.element.io instead

* Use demo creds

* StrictMode

* Switch back to 0207 (unsigned)

* Fix call syntax

* Revert env inc

* Partial rollback

* Trace

* Trace less

* Fix CN being passed wrong

* DEBUG

* Debug 2

* Fix ConvertFrom-StringData

* 0214

* Test

* Test

* Untested

* Revert to 0207

* stash

* Try with 20230221

* Restore scripts/electron_winSign.js

* Prepare for merge

* Update build_windows.yaml

* Update build_and_deploy.yaml

* Restore .github/workflows/build_and_deploy.yaml

* Restore .github/workflows/build_and_deploy.yaml

* Fix bad restore
2023-02-22 13:51:19 +00:00
Andy Balaam
0faac52dae Format all files with prettier 2022-12-15 11:52:12 +00:00
Michael Telatynski
2f48519dce
Improve build time in CI through caching native modules (#482)
* Improve caching of hak native modules

* Avoid double-hashing

* Skip native installs where cache is hit

* Include Electron version in the hash, it affects the ABI

* Add missing step IDs

* Add comments
2022-12-13 14:12:40 +00:00
Michael Telatynski
d45b3aac65
Improve workflow reuse (#452) 2022-11-14 11:09:07 +00:00
Michael Telatynski
1e6a3ceebd
Improve CI stability and tidy it up (#451) 2022-11-11 15:15:21 +00:00