Skip to content

Commit 50061dd

Browse files
authored
Re-enable code signing (#421)
1 parent a150c53 commit 50061dd

File tree

1 file changed

+2
-14
lines changed

1 file changed

+2
-14
lines changed

.ado/publish.yml

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ resources:
109109

110110
variables:
111111
- name: DisableSigning # Disable signing while we have no access to certificate
112-
value: true
112+
value: false
113113
- name: DisableOsxArm64CodeQL
114114
value: true # Temporary disable CodeQL for OSX ARM64 until it is fixed by CodeQL team.
115115

@@ -310,13 +310,6 @@ extends:
310310
submodules: false
311311
lfs: false
312312

313-
# .Net 6.0 is required for the code signing task
314-
- task: UseDotNet@2
315-
displayName: Install .Net 6.0.x
316-
inputs:
317-
packageType: sdk
318-
version: 6.0.x
319-
320313
- task: UseDotNet@2
321314
displayName: Install .NET SDK using global.json
322315
inputs:
@@ -354,11 +347,6 @@ extends:
354347
- script: echo $(TargetRuntimeList)
355348
displayName: Show RID list
356349

357-
- task: DeleteFiles@1 # Code signing utility requires net6.0 runtime
358-
displayName: Delete global.json for CodeSign
359-
inputs:
360-
Contents: global.json
361-
362350
- ${{ if ne(variables.DisableSigning, true) }}:
363351
- task: SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@5
364352
displayName: CodeSign Binaries
@@ -372,8 +360,8 @@ extends:
372360
FolderPath: $(Build.SourcesDirectory)/out/bin/Release
373361
# Recursively finds files matching these patterns:
374362
Pattern: |
363+
NodeApi/aot/win-x64/publish/Microsoft.JavaScript.NodeApi.node
375364
**/Microsoft.JavaScript.NodeApi.dll
376-
**/win-x64/publish/Microsoft.JavaScript.NodeApi.node
377365
**/Microsoft.JavaScript.NodeApi.DotNetHost.dll
378366
**/Microsoft.JavaScript.NodeApi.Generator.dll
379367
**/Microsoft.JavaScript.NodeApi.Generator.exe

0 commit comments

Comments
 (0)