Skip to content

Commit 49f7a41

Browse files
Build on linux & remove nbgv
1 parent ebe963e commit 49f7a41

4 files changed

Lines changed: 4 additions & 33 deletions

File tree

Directory.Build.props

Lines changed: 0 additions & 8 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# CodeSigningDemo
22
Skeleton for demonstrating use of the Sign CLI tool
33

4-
The `azure-pipelines.yml` shows how you can use a multi-stage build with an `environment` to require
5-
a manual approval for code signing. Once signed, a Release is created and pushed though a release pipeline.
4+
The `azure-pipelines.yml` shows how you can use a multi-stage build with code signing for Azure DevOps

azure-pipelines.yml

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ stages:
1111
jobs:
1212
- job: Build
1313
pool:
14-
vmImage: windows-latest
14+
vmImage: ubuntu-latest
1515
variables:
1616
BuildConfiguration: Release
1717

@@ -21,26 +21,16 @@ stages:
2121
inputs:
2222
version: 6.x
2323

24-
- task: DotNetCoreCLI@2
25-
inputs:
26-
command: custom
27-
custom: tool
28-
arguments: install --tool-path . nbgv
29-
displayName: Install NBGV tool
30-
31-
- script: nbgv cloud
32-
displayName: Set Version
33-
3424
- task: DotNetCoreCLI@2
3525
inputs:
3626
command: pack
3727
packagesToPack: src/AClassLibrary/AClassLibrary.csproj
3828
configuration: $(BuildConfiguration)
39-
packDirectory: $(Build.ArtifactStagingDirectory)\Packages
29+
packDirectory: $(Build.ArtifactStagingDirectory)/Packages
4030
verbosityPack: Minimal
4131
displayName: Build Package
4232

43-
- publish: $(Build.ArtifactStagingDirectory)\Packages
33+
- publish: $(Build.ArtifactStagingDirectory)/Packages
4434
displayName: Publish Build Artifacts
4535
artifact: BuildPackages
4636

version.json

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)