@@ -19,41 +19,37 @@ jobs:
19
19
msvc_arch : amd64_x86
20
20
build_type : Debug
21
21
steps :
22
- - uses : actions/checkout@v2
22
+ - uses : actions/checkout@v4
23
23
with :
24
24
submodules : recursive
25
- # Required for version stamping (`git describe`) to work.
26
- fetch-depth : 0
27
25
- uses : ilammy/msvc-dev-cmd@v1
28
26
with :
29
27
arch : ${{ matrix.msvc_arch }}
30
28
- run : cmake -S src -B src/out/build/${{ matrix.msvc_config }} -G Ninja -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DCMAKE_INSTALL_PREFIX:PATH=${{ github.workspace }}/src/out/install/${{ matrix.msvc_config }}
31
29
- run : cmake --build src/out/build/${{ matrix.msvc_config }}
32
30
- run : cmake --install src/out/build/${{ matrix.msvc_config }}
33
- - uses : actions/upload-artifact@v2
31
+ - uses : actions/upload-artifact@v4
34
32
with :
35
33
name : ASIO401-${{ matrix.msvc_config }}
36
34
path : src/out/install/${{ matrix.msvc_config }}/
37
35
installer :
38
36
runs-on : windows-latest
39
37
needs : build
40
38
steps :
41
- - uses : actions/checkout@v2
39
+ - uses : actions/checkout@v4
42
40
with :
43
41
submodules : recursive
44
- # Required for version stamping (`git describe`) to work.
45
- fetch-depth : 0
46
- - uses : actions/download-artifact@v2
42
+ - uses : actions/download-artifact@v4
47
43
with :
48
44
name : ASIO401-x64-Release
49
45
path : src/out/install/x64-Release
50
- - uses : actions/download-artifact@v2
46
+ - uses : actions/download-artifact@v4
51
47
with :
52
48
name : ASIO401-x86-Release
53
49
path : src/out/install/x86-Release
54
50
- run : cmake -P installer.cmake
55
51
working-directory : src
56
- - uses : actions/upload-artifact@v2
52
+ - uses : actions/upload-artifact@v4
57
53
with :
58
54
name : ASIO401-installer
59
55
path : src/out/installer/*
@@ -63,13 +59,13 @@ jobs:
63
59
permissions :
64
60
id-token : write
65
61
steps :
66
- - uses : actions/download-artifact@v3
62
+ - uses : actions/download-artifact@v4
67
63
with :
68
64
name : ASIO401-installer
69
65
-
uses :
sigstore/[email protected]
70
66
with :
71
67
inputs : " *"
72
- - uses : actions/upload-artifact@v3
68
+ - uses : actions/upload-artifact@v4
73
69
with :
74
70
name : sigstore
75
71
path : " *.sigstore"
@@ -83,10 +79,10 @@ jobs:
83
79
permissions :
84
80
contents : write
85
81
steps :
86
- - uses : actions/download-artifact@v3
82
+ - uses : actions/download-artifact@v4
87
83
with :
88
84
name : ASIO401-installer
89
- - uses : actions/download-artifact@v3
85
+ - uses : actions/download-artifact@v4
90
86
with :
91
87
name : sigstore
92
88
- uses : softprops/action-gh-release@v1
0 commit comments