build: remove CircleCI (#42844) (#42909)

* build: remove CircleCI

* chore: remove remaining CircleCI references

(cherry picked from commit c006e129b3)

Co-authored-by: Keeley Hammond <vertedinde@electronjs.org>
This commit is contained in:
John Kleinschmidt 2024-07-15 19:00:20 -04:00 committed by GitHub
parent 398e34967f
commit 9659dab19e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
20 changed files with 3 additions and 1970 deletions

View file

@ -18,11 +18,6 @@ export function getCodesignIdentity () {
if (identity === undefined) {
const result = cp.spawnSync(path.resolve(__dirname, '../../script/codesign/get-trusted-identity.sh'));
if (result.status !== 0 || result.stdout.toString().trim().length === 0) {
// Per https://circleci.com/docs/2.0/env-vars:
// CIRCLE_PR_NUMBER is only present on forked PRs
if (process.env.CI && !process.env.CIRCLE_PR_NUMBER) {
throw new Error('No valid signing identity available to run autoUpdater specs');
}
identity = null;
} else {
identity = result.stdout.toString().trim();