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

Commit ce31a7f

Browse files
authored
Merge pull request #102 from bsv-blockchain/dev
Fix CI/CD
2 parents 2eb0823 + 9edccae commit ce31a7f

5 files changed

Lines changed: 495 additions & 462 deletions

File tree

.github/workflows/release.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
args: '--target x86_64-apple-darwin'
2323
- platform: 'ubuntu-22.04'
2424
args: ''
25-
- platform: 'windows-latest'
25+
- platform: 'windows-2022'
2626
args: ''
2727
runs-on: ${{ matrix.platform }}
2828
steps:
@@ -159,13 +159,13 @@ jobs:
159159
SHA256SUMS.asc
160160
161161
- name: Set up certificate
162-
if: matrix.platform == 'windows-latest'
162+
if: matrix.platform == 'windows-2022'
163163
run: |
164164
echo "${{ secrets.DIGICERT_CLIENT_AUTH_CERT }}" | base64 --decode > /d/Certificate_pkcs12.p12
165165
shell: bash
166166

167167
- name: Set DigiCert environment variables
168-
if: matrix.platform == 'windows-latest'
168+
if: matrix.platform == 'windows-2022'
169169
run: |
170170
echo "SM_HOST=${{ secrets.DIGICERT_HOST }}" >> "$GITHUB_ENV"
171171
echo "SM_API_KEY=${{ secrets.DIGICERT_KEY_LOCKER_API_KEY }}" >> "$GITHUB_ENV"
@@ -175,35 +175,35 @@ jobs:
175175
shell: bash
176176

177177
- name: Code signing with Software Trust Manager
178-
if: matrix.platform == 'windows-latest'
178+
if: matrix.platform == 'windows-2022'
179179
uses: digicert/ssm-code-signing@v1.1.0
180180
env:
181181
FORCE_DOWNLOAD_TOOLS: 'true'
182182

183183
- name: DigiCert tools healthcheck
184-
if: matrix.platform == 'windows-latest'
184+
if: matrix.platform == 'windows-2022'
185185
shell: cmd
186186
run: |
187187
smctl version
188188
smctl healthcheck
189189
190190
- name: Sync KeyLocker certificate to Windows store (KSP)
191-
if: matrix.platform == 'windows-latest'
191+
if: matrix.platform == 'windows-2022'
192192
shell: cmd
193193
run: |
194194
"%LOCALAPPDATA%\Temp\smtools-windows-x64\smksp_cert_sync.exe"
195195
certutil.exe -csp "DigiCert Software Trust Manager KSP" -key -user
196196
197197
- name: Sign Windows executables with DigiCert (KSP)
198-
if: matrix.platform == 'windows-latest'
198+
if: matrix.platform == 'windows-2022'
199199
shell: cmd
200200
run: |
201201
for /r "src-tauri\target\release\bundle" %%f in (*.exe *.msi) do (
202202
smctl sign --fingerprint %SM_FINGERPRINT% --input "%%f"
203203
)
204204
205205
- name: Verify Windows Signatures
206-
if: matrix.platform == 'windows-latest'
206+
if: matrix.platform == 'windows-2022'
207207
shell: pwsh
208208
run: |
209209
$signtool = Get-ChildItem "C:\Program Files (x86)\Windows Kits\10\bin\*\x64\signtool.exe" -ErrorAction SilentlyContinue | Select-Object -First 1 -ExpandProperty FullName
@@ -214,15 +214,15 @@ jobs:
214214
}
215215
216216
- name: Upload Windows Artifact - MSI
217-
if: matrix.platform == 'windows-latest'
217+
if: matrix.platform == 'windows-2022'
218218
uses: actions/upload-artifact@v4
219219
with:
220220
name: windows-msi-artifact
221221
path: src-tauri/target/release/bundle/msi/*.msi
222222
if-no-files-found: warn
223223

224224
- name: Upload Windows Artifact - EXE
225-
if: matrix.platform == 'windows-latest'
225+
if: matrix.platform == 'windows-2022'
226226
uses: actions/upload-artifact@v4
227227
with:
228228
name: windows-exe-artifact
@@ -232,7 +232,7 @@ jobs:
232232
if-no-files-found: warn
233233

234234
- name: List Windows build artifacts for debugging
235-
if: matrix.platform == 'windows-latest'
235+
if: matrix.platform == 'windows-2022'
236236
shell: powershell
237237
run: |
238238
Write-Host "Checking build directory structure:"

package-lock.json

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
"@mui/icons-material": "^6.4.3",
2323
"@mui/material": "^6.4.3",
2424
"@mui/styles": "^6.4.3",
25-
"@tauri-apps/api": "^2.4.1",
26-
"@tauri-apps/plugin-dialog": "^2.2.1",
25+
"@tauri-apps/api": "^2.8.0",
26+
"@tauri-apps/plugin-dialog": "^2.4.0",
2727
"@tauri-apps/plugin-shell": "^2.2.1",
2828
"date-fns": "^4.1.0",
2929
"fuse.js": "^7.1.0",
@@ -38,7 +38,7 @@
3838
},
3939
"devDependencies": {
4040
"@tauri-apps/cli": "^2.4.0",
41-
"@tauri-apps/plugin-opener": "^2.2.6",
41+
"@tauri-apps/plugin-opener": "^2.5.0",
4242
"@types/node": "^22.13.1",
4343
"@types/react": "^18.3.1",
4444
"@types/react-dom": "^18.3.1",

0 commit comments

Comments
 (0)