Skip to content

Commit e1a8e59

Browse files
committed
chore: update CI and MSVC version
1 parent 3ac3a89 commit e1a8e59

1 file changed

Lines changed: 12 additions & 11 deletions

File tree

.github/workflows/main.yml

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
matrix:
1111
include:
1212
- platform: x64
13-
os: windows-latest
13+
os: windows-2025-vs2026
1414
triplet: x64-windows
1515
runs-on: ${{ matrix.os }}
1616
env:
@@ -22,7 +22,7 @@ jobs:
2222
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2323
steps:
2424
- name: Checkout
25-
uses: actions/checkout@v4
25+
uses: actions/checkout@v6
2626
with:
2727
submodules: "recursive"
2828

@@ -43,12 +43,13 @@ jobs:
4343
uses: microsoft/setup-msbuild@v2
4444

4545
- name: Obtain and run CMake
46-
uses: threeal/cmake-action@v1.3.0
46+
uses: threeal/cmake-action@v2.1.0
4747
with:
4848
source-dir: "."
4949
build-dir: "build"
50-
generator: "Visual Studio 17 2022"
51-
options: CMAKE_TOOLCHAIN_FILE=vcpkg/scripts/buildsystems/vcpkg.cmake CMAKE_INSTALL_PREFIX="${{ env.INST_DIR }}" VCPKG_TARGET_TRIPLET="${{ env.VCPKG_TARGET_TRIPLET }}"
50+
generator: "Visual Studio 18 2026"
51+
options: CMAKE_TOOLCHAIN_FILE=vcpkg/scripts/buildsystems/vcpkg.cmake CMAKE_INSTALL_PREFIX="${{ env.INST_DIR }}" "VCPKG_TARGET_TRIPLET=${{ env.VCPKG_TARGET_TRIPLET }}"
52+
run-build: false
5253

5354
- name: Build DLL
5455
run: "cmake --build build --config Release -t INSTALL"
@@ -62,27 +63,27 @@ jobs:
6263
} else { Write-Host "DLL not found" }
6364
6465
- name: Archive DLL
65-
uses: actions/upload-artifact@v4
66+
uses: actions/upload-artifact@v6
6667
with:
6768
name: SimpleGraphic-${{ matrix.triplet }}.dll
6869
path: "${{ env.INST_DIR }}/SimpleGraphic.dll"
6970

7071
- name: Archive DLL symbols
71-
uses: actions/upload-artifact@v4
72+
uses: actions/upload-artifact@v6
7273
with:
7374
name: SimpleGraphic-${{ matrix.triplet }}.pdb
7475
path: "${{ github.workspace }}/build/Release/SimpleGraphic.pdb"
7576

7677
- name: Archive dependency DLLs
77-
uses: actions/upload-artifact@v4
78+
uses: actions/upload-artifact@v6
7879
with:
7980
name: SimpleGraphic-${{ matrix.triplet }}-deps.dll
8081
path: |
8182
${{ env.INST_DIR }}/*.dll
8283
!${{ env.INST_DIR }}/SimpleGraphic.dll
8384
8485
- name: Archive dependency DLL symbols
85-
uses: actions/upload-artifact@v4
86+
uses: actions/upload-artifact@v6
8687
with:
8788
name: SimpleGraphic-${{ matrix.triplet }}-deps.pdb
8889
path: |
@@ -99,7 +100,7 @@ jobs:
99100
100101
- name: Notify PathOfBuilding repo
101102
if: ${{ github.event_name == 'release' }}
102-
uses: peter-evans/repository-dispatch@v3
103+
uses: peter-evans/repository-dispatch@v4
103104
with:
104105
token: ${{ secrets.WIRES77_PAT }}
105106
repository: ${{ github.repository_owner }}/PathOfBuilding
@@ -108,7 +109,7 @@ jobs:
108109

109110
- name: Notify PathOfBuilding-PoE2 repo
110111
if: ${{ github.event_name == 'release' }}
111-
uses: peter-evans/repository-dispatch@v3
112+
uses: peter-evans/repository-dispatch@v4
112113
with:
113114
token: ${{ secrets.WIRES77_PAT }}
114115
repository: ${{ github.repository_owner }}/PathOfBuilding-PoE2

0 commit comments

Comments
 (0)