@@ -16,10 +16,10 @@ jobs:
16
16
configuration : [ debug, release ]
17
17
os : [ windows ]
18
18
steps :
19
- - uses : actions/checkout@v3
19
+ - uses : actions/checkout@v4
20
20
- run : ./scripts/cibuild.cmd -configuration ${{ matrix.configuration }} -architecture ${{ matrix.architecture }}
21
21
shell : cmd
22
- - uses : actions/upload-artifact@v3
22
+ - uses : actions/upload-artifact@v4
23
23
with :
24
24
name : ${{ matrix.os }}_${{ matrix.configuration }}_${{ matrix.architecture }}
25
25
path : |
@@ -36,10 +36,10 @@ jobs:
36
36
configuration : [ debug, release ]
37
37
os : [ windows ]
38
38
steps :
39
- - uses : actions/checkout@v3
39
+ - uses : actions/checkout@v4
40
40
- run : ./scripts/cibuild.cmd -configuration ${{ matrix.configuration }} -architecture ${{ matrix.architecture }} /p:PlatformTarget=${{ matrix.architecture }}
41
41
shell : cmd
42
- - uses : actions/upload-artifact@v3
42
+ - uses : actions/upload-artifact@v4
43
43
with :
44
44
name : ${{ matrix.os }}_${{ matrix.configuration }}_${{ matrix.architecture }}
45
45
path : |
@@ -56,10 +56,10 @@ jobs:
56
56
configuration : [ debug, release ]
57
57
os : [ ubuntu ]
58
58
steps :
59
- - uses : actions/checkout@v3
59
+ - uses : actions/checkout@v4
60
60
- run : ./scripts/cibuild.sh --configuration ${{ matrix.configuration }} --architecture ${{ matrix.architecture }}
61
61
shell : bash
62
- - uses : actions/upload-artifact@v3
62
+ - uses : actions/upload-artifact@v4
63
63
with :
64
64
name : ${{ matrix.os }}_${{ matrix.configuration }}_${{ matrix.architecture }}
65
65
path : |
@@ -76,10 +76,10 @@ jobs:
76
76
configuration : [ debug, release ]
77
77
os : [ macos ]
78
78
steps :
79
- - uses : actions/checkout@v3
79
+ - uses : actions/checkout@v4
80
80
- run : ./scripts/cibuild.sh --configuration ${{ matrix.configuration }} --architecture ${{ matrix.architecture }}
81
81
shell : bash
82
- - uses : actions/upload-artifact@v3
82
+ - uses : actions/upload-artifact@v4
83
83
with :
84
84
name : ${{ matrix.os }}_${{ matrix.configuration }}_${{ matrix.architecture }}
85
85
path : |
@@ -91,13 +91,13 @@ jobs:
91
91
build-nuget-preview :
92
92
runs-on : windows-latest
93
93
steps :
94
- - uses : actions/checkout@v3
94
+ - uses : actions/checkout@v4
95
95
- run : ./scripts/cibuild.cmd -configuration release -architecture x64
96
96
shell : cmd
97
97
env :
98
98
EXCLUDE_RUN_ID_FROM_PACKAGE : true
99
99
EXCLUDE_SUFFIX_FROM_VERSION : false
100
- - uses : actions/upload-artifact@v3
100
+ - uses : actions/upload-artifact@v4
101
101
with :
102
102
name : nuget_preview
103
103
path : |
@@ -113,17 +113,17 @@ jobs:
113
113
permissions :
114
114
id-token : write
115
115
steps :
116
- - uses : actions/checkout@v3
117
- - uses : actions/download-artifact@v4.1.7
116
+ - uses : actions/checkout@v4
117
+ - uses : actions/download-artifact@v4
118
118
with :
119
119
name : nuget_preview
120
120
path : ./artifacts
121
- - uses : actions/setup-dotnet@v3
121
+ - uses : actions/setup-dotnet@v4
122
122
with :
123
- dotnet-version : ' 6 .0.x'
123
+ dotnet-version : ' 8 .0.x'
124
124
- run : dotnet tool install --tool-path ./artifacts/tools sign --version 0.9.0-beta.23063.3
125
125
- run : ./artifacts/tools/sign code azure-key-vault "**/*.nupkg" --timestamp-url "http://timestamp.digicert.com" --base-directory "${{ github.workspace }}/artifacts/pkg" --file-list "${{ github.workspace }}/scripts/SignClientFileList.txt" --publisher-name "TerraFX" --description "TerraFX.Interop.Mimalloc" --description-url "https://github.com/terrafx/terrafx.interop.mimalloc" --azure-key-vault-certificate "${{ secrets.SC_KEY_VAULT_CERTIFICATE_ID }}" --azure-key-vault-client-id "${{ secrets.SC_AZURE_CLIENT_ID }}" --azure-key-vault-client-secret "${{ secrets.SC_AZURE_CLIENT_SECRET }}" --azure-key-vault-tenant-id "${{ secrets.SC_AZURE_TENANT_ID }}" --azure-key-vault-url "${{ secrets.SC_KEY_VAULT_URL }}"
126
- - uses : actions/upload-artifact@v3
126
+ - uses : actions/upload-artifact@v4
127
127
with :
128
128
name : sign_nuget_preview
129
129
path : |
@@ -132,13 +132,13 @@ jobs:
132
132
build-nuget-release :
133
133
runs-on : windows-latest
134
134
steps :
135
- - uses : actions/checkout@v3
135
+ - uses : actions/checkout@v4
136
136
- run : ./scripts/cibuild.cmd -configuration release -architecture x64
137
137
shell : cmd
138
138
env :
139
139
EXCLUDE_RUN_ID_FROM_PACKAGE : true
140
140
EXCLUDE_SUFFIX_FROM_VERSION : true
141
- - uses : actions/upload-artifact@v3
141
+ - uses : actions/upload-artifact@v4
142
142
with :
143
143
name : nuget_release
144
144
path : |
@@ -154,17 +154,17 @@ jobs:
154
154
permissions :
155
155
id-token : write
156
156
steps :
157
- - uses : actions/checkout@v3
158
- - uses : actions/download-artifact@v4.1.7
157
+ - uses : actions/checkout@v4
158
+ - uses : actions/download-artifact@v4
159
159
with :
160
160
name : nuget_release
161
161
path : ./artifacts
162
- - uses : actions/setup-dotnet@v3
162
+ - uses : actions/setup-dotnet@v4
163
163
with :
164
- dotnet-version : ' 6 .0.x'
164
+ dotnet-version : ' 8 .0.x'
165
165
- run : dotnet tool install --tool-path ./artifacts/tools sign --version 0.9.0-beta.23063.3
166
166
- run : ./artifacts/tools/sign code azure-key-vault "**/*.nupkg" --timestamp-url "http://timestamp.digicert.com" --base-directory "${{ github.workspace }}/artifacts/pkg" --file-list "${{ github.workspace }}/scripts/SignClientFileList.txt" --publisher-name "TerraFX" --description "TerraFX.Interop.Mimalloc" --description-url "https://github.com/terrafx/terrafx.interop.mimalloc" --azure-key-vault-certificate "${{ secrets.SC_KEY_VAULT_CERTIFICATE_ID }}" --azure-key-vault-client-id "${{ secrets.SC_AZURE_CLIENT_ID }}" --azure-key-vault-client-secret "${{ secrets.SC_AZURE_CLIENT_SECRET }}" --azure-key-vault-tenant-id "${{ secrets.SC_AZURE_TENANT_ID }}" --azure-key-vault-url "${{ secrets.SC_KEY_VAULT_URL }}"
167
- - uses : actions/upload-artifact@v3
167
+ - uses : actions/upload-artifact@v4
168
168
with :
169
169
name : sign_nuget_release
170
170
path : |
@@ -175,13 +175,13 @@ jobs:
175
175
if : ${{ github.event_name == 'push' }}
176
176
needs : [ windows-x64, windows-x86, linux-x64, macos-x64, sign-nuget-preview, sign-nuget-release ]
177
177
steps :
178
- - uses : actions/download-artifact@v4.1.7
178
+ - uses : actions/download-artifact@v4
179
179
with :
180
180
name : windows_release_x64
181
181
path : ./artifacts
182
- - uses : actions/setup-dotnet@v2
182
+ - uses : actions/setup-dotnet@v4
183
183
with :
184
- dotnet-version : ' 6 .0.x'
184
+ dotnet-version : ' 8 .0.x'
185
185
source-url : https://pkgs.terrafx.dev/index.json
186
186
env :
187
187
NUGET_AUTH_TOKEN : ${{ secrets.AZURE_DEVOPS_PAT }}
@@ -191,11 +191,11 @@ jobs:
191
191
if : ${{ github.event_name == 'push' }}
192
192
needs : [ windows-x64, windows-x86, linux-x64, macos-x64, sign-nuget-preview, sign-nuget-release ]
193
193
steps :
194
- - uses : actions/download-artifact@v4.1.7
194
+ - uses : actions/download-artifact@v4
195
195
with :
196
196
name : windows_release_x64
197
197
path : ./artifacts
198
- - uses : actions/setup-dotnet@v2
198
+ - uses : actions/setup-dotnet@v4
199
199
with :
200
- dotnet-version : ' 6 .0.x'
200
+ dotnet-version : ' 8 .0.x'
201
201
- run : dotnet nuget push "./artifacts/pkg/Release/*.nupkg" --source https://nuget.pkg.github.com/terrafx/index.json --api-key ${{ secrets.GITHUB_TOKEN }} --skip-duplicate
0 commit comments