Skip to content
This repository was archived by the owner on Jun 24, 2025. It is now read-only.

Commit 44ae9b6

Browse files
committed
chore(signing): trigger fake signing for testing
1 parent 610d03e commit 44ae9b6

File tree

2 files changed

+13
-85
lines changed

2 files changed

+13
-85
lines changed

.github/workflows/release.yml

Lines changed: 10 additions & 85 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
name: Release
22
on:
33
push:
4-
tags:
5-
- "v*"
64
permissions:
75
contents: write
86
concurrency:
@@ -15,18 +13,10 @@ jobs:
1513
strategy:
1614
fail-fast: false
1715
matrix:
18-
arch: [x64, arm64]
16+
arch: [arm64]
1917
os:
20-
- name: macos
21-
image: macos-latest
22-
shell: bash
23-
forge_platform: darwin
24-
- name: linux
25-
image: ubuntu-latest
26-
shell: bash
27-
forge_platform: linux
2818
- name: windows
29-
image: win-signing
19+
image: windows-latest-arm
3020
shell: cmd
3121
forge_platform: win32
3222
runs-on: ${{ matrix.os.image }}
@@ -36,76 +26,11 @@ jobs:
3626
uses: actions/setup-node@v4
3727
with:
3828
node-version: 22
39-
- name: Run the build
40-
uses: ./.github/actions/build-electron
41-
with:
42-
os: ${{ matrix.os.name }}
43-
arch: ${{ matrix.arch }}
44-
shell: ${{ matrix.os.shell }}
45-
forge_platform: ${{ matrix.os.forge_platform }}
46-
env:
47-
APPLE_APP_CERTIFICATE_BASE64: ${{ secrets.APPLE_APP_CERTIFICATE_BASE64 }}
48-
APPLE_APP_CERTIFICATE_PASSWORD: ${{ secrets.APPLE_APP_CERTIFICATE_PASSWORD }}
49-
APPLE_INSTALLER_CERTIFICATE_BASE64: ${{ secrets.APPLE_INSTALLER_CERTIFICATE_BASE64 }}
50-
APPLE_INSTALLER_CERTIFICATE_PASSWORD: ${{ secrets.APPLE_INSTALLER_CERTIFICATE_PASSWORD }}
51-
APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}
52-
APPLE_ID: ${{ secrets.APPLE_ID }}
53-
APPLE_ID_PASSWORD: ${{ secrets.APPLE_ID_PASSWORD }}
54-
WINDOWS_SIGN_EXECUTABLE: ${{ vars.WINDOWS_SIGN_EXECUTABLE }}
55-
56-
- name: Upload the artifact
57-
uses: actions/upload-artifact@v4
58-
with:
59-
name: release-desktop-${{ matrix.os.name }}-${{ matrix.arch }}
60-
path: upload/*.*
61-
62-
build_server:
63-
name: Build Linux Server
64-
strategy:
65-
fail-fast: false
66-
matrix:
67-
arch: [x64, arm64]
68-
include:
69-
- arch: x64
70-
runs-on: ubuntu-latest
71-
- arch: arm64
72-
runs-on: ubuntu-24.04-arm
73-
runs-on: ${{ matrix.runs-on }}
74-
steps:
75-
- uses: actions/checkout@v4
76-
77-
- name: Run the build
78-
uses: ./.github/actions/build-server
79-
with:
80-
os: linux
81-
arch: ${{ matrix.arch }}
82-
83-
- name: Upload the artifact
84-
uses: actions/upload-artifact@v4
85-
with:
86-
name: release-server-linux-${{ matrix.arch }}
87-
path: upload/*.*
88-
89-
publish_release:
90-
name: Publish release
91-
runs-on: ubuntu-latest
92-
needs:
93-
- make-electron
94-
- build_server
95-
steps:
96-
- run: mkdir upload
97-
98-
- name: Download all artifacts
99-
uses: actions/download-artifact@v4
100-
with:
101-
merge-multiple: true
102-
pattern: release-*
103-
path: upload
104-
105-
- name: Publish release
106-
uses: softprops/action-gh-release@v2
107-
with:
108-
draft: false
109-
body_path: docs/Release Notes/Release Notes/${{ github.ref_name }}.md
110-
fail_on_unmatched_files: true
111-
files: upload/*.*
29+
- name: Set up signer
30+
run: |
31+
cd packages/electron-forge-win-signer
32+
npm i
33+
npm run build
34+
- name: Trigger a fake signing
35+
run: |
36+
node packages/electron-forge-win-signer/dist/index.js

packages/electron-forge-win-signer/src/index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,6 @@ function generateArtifactName(artifactPath: string) {
2828
function log(...args) {
2929
console.log(`[WIN-SIGN] `, ...args);
3030
}
31+
32+
// TODO: Remove once integrated in the CI.
33+
sign("Dockerfile");

0 commit comments

Comments
 (0)