gh actions: build only Windows for signing, others will be uploaded to save gh quota
Massimo Melina committed
Feb 24, 2026 at 19:09 UTC
5af9b69ee5cc0fd18eb5017a406197c2054883a9
3 files changed
+5
-59
.github/workflows/release-assets-linux-arm.yml
deleted
-55
@@ -1,55 +0,0 @@
1
-name: release-assets-linux-arm
2
-
3
-on:
4
- workflow_dispatch:
5
- inputs:
6
- tag:
7
- description: 'Release tag (e.g., v3.0.2-test)'
8
- required: true
9
- type: string
10
- commitish:
11
- description: 'Target branch or commit (optional)'
12
- required: false
13
- type: string
14
-
15
-env:
16
- NODE_VERSION: '20'
17
-
18
-jobs:
19
- linux_arm:
20
- runs-on: ubuntu-latest
21
- permissions:
22
- actions: write
23
- contents: read
24
- steps:
25
- - name: Checkout
26
- uses: actions/checkout@v4
27
- with:
28
- ref: ${{ inputs.commitish || github.ref }}
29
-
30
- - name: Setup Node
31
- uses: actions/setup-node@v4
32
- with:
33
- node-version: ${{ env.NODE_VERSION }}
34
- cache: npm
35
-
36
- - name: Install dependencies
37
- run: npm ci
38
-
39
- - name: Build server and UIs
40
- run: |
41
- npm run build-server
42
- npm run build-frontend
43
- npm run build-admin
44
-
45
- - name: Prepare dist dependencies
46
- run: npm run dist-modules
47
-
48
- - name: Build Linux arm64 binary
49
- run: npm run dist-bin-linux-arm
50
-
51
- - name: Upload Linux arm64 package
52
- uses: actions/upload-artifact@v4
53
- with:
54
- name: release-assets-linux-arm64
55
- path: dist/hfs-linux-arm64-*.zip
.github/workflows/release-assets.yml
+4
-3
@@ -108,6 +108,7 @@ jobs:
108
path: dist/hfs-windows-x64-*.zip
109
110
linux:
111
+ if: false # all disabled but windows to reduce CI credits consumption
112
runs-on: ubuntu-latest
113
needs: windows
114
permissions:
@@ -145,6 +146,7 @@ jobs:
146
path: dist/hfs-linux-x64-*.zip
147
148
linux_arm:
149
+ if: false
150
runs-on: ubuntu-latest
151
needs: windows
152
permissions:
@@ -182,6 +184,7 @@ jobs:
184
path: dist/hfs-linux-arm64-*.zip
185
186
mac_x64:
187
+ if: false
188
runs-on: macos-15-intel
189
needs: windows
190
permissions:
@@ -219,6 +222,7 @@ jobs:
222
path: dist/hfs-mac-x64-*.zip
223
224
mac_arm:
225
+ if: false
226
runs-on: macos-14
227
needs: windows
228
permissions:
@@ -259,9 +263,6 @@ jobs:
263
runs-on: ubuntu-latest
264
needs:
265
- windows
262
- - linux
263
- - mac_x64
264
- - mac_arm
266
permissions:
267
contents: write
268
steps:
.github/workflows/wiki-monitor.yml
+1
-1
@@ -2,7 +2,7 @@ name: Wiki monitor
2
3
on:
4
schedule:
5
- - cron: '0 */2 * * *'
5
+ - cron: '0 */4 * * *'
6
workflow_dispatch:
7
8
permissions: