Skip to content

Commit 41a11f7

Browse files
authored
Merge pull request #72 from Kichura/windows-ci
Update Windows to 2025
2 parents 5862979 + 9ff1fa5 commit 41a11f7

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

.github/workflows/build-signed.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,12 @@ jobs:
66
build-signed:
77
permissions:
88
contents: write
9-
runs-on: windows-2022
9+
runs-on: windows-2025
1010
steps:
1111
- name: Checkout Repository
1212
uses: actions/checkout@v4
13+
with:
14+
persist-credentials: false
1315
- name: Install Go
1416
uses: actions/setup-go@v5
1517
- name: Setup pnpm

.github/workflows/build.yml

+8-4
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ jobs:
1111
steps:
1212
- name: Checkout Repository
1313
uses: actions/checkout@v4
14+
with:
15+
persist-credentials: false
1416
- name: Install Go
1517
uses: actions/setup-go@v5
1618
with:
@@ -33,21 +35,23 @@ jobs:
3335
fail-fast: false
3436
matrix:
3537
# maybe update to macOS 14 if this is ARM64-ready?
36-
platform: [macos-13, ubuntu-20.04, windows-2022]
38+
platform: [macos-13, ubuntu-20.04, windows-2025]
3739

3840
runs-on: ${{ matrix.platform }}
3941
steps:
4042
- name: Run sccache-cache
4143
uses: mozilla-actions/[email protected]
4244
- name: Checkout Repository
4345
uses: actions/checkout@v4
46+
with:
47+
persist-credentials: false
4448
- name: Download Verifier
4549
uses: actions/download-artifact@v4
4650
with:
4751
name: verifier-builds
4852
path: verifier/dist/
4953
- name: Apply +x to verifier
50-
if: matrix.platform != 'windows-2022'
54+
if: matrix.platform != 'windows-2025'
5155
run: chmod +x verifier/dist/*
5256
- name: Setup pnpm
5357
uses: pnpm/action-setup@v3
@@ -93,7 +97,7 @@ jobs:
9397
path: src-tauri/target/release/bundle/dmg/*.dmg
9498
- name: Upload the Windows packages
9599
uses: actions/upload-artifact@v4
96-
if: matrix.platform == 'windows-2022'
100+
if: matrix.platform == 'windows-2025'
97101
with:
98102
name: windows-packages
99103
path: src-tauri/target/release/*.exe
@@ -123,7 +127,7 @@ jobs:
123127
path: src-tauri/target/debug/bundle/dmg/*.dmg
124128
- name: Upload the Windows packages
125129
uses: actions/upload-artifact@v4
126-
if: matrix.platform == 'windows-2022'
130+
if: matrix.platform == 'windows-2025'
127131
with:
128132
name: windows-packages-debug
129133
path: src-tauri/target/debug/*.exe

0 commit comments

Comments
 (0)