Trying to install AST with `publish`
This commit is contained in:
parent
711cea8c4b
commit
d998ec9146
|
@ -26,9 +26,18 @@ steps:
|
||||||
git clone https://github.com/vcsjones/AzureSignTool.git
|
git clone https://github.com/vcsjones/AzureSignTool.git
|
||||||
cd AzureSignTool
|
cd AzureSignTool
|
||||||
dotnet --version
|
dotnet --version
|
||||||
dotnet pack --output ./nupkg
|
dotnet restore
|
||||||
dotnet tool install --global --ignore-failed-sources --add-source ./nupkg --version 0.0.0-gce87e84a58 azuresigntool
|
dotnet publish src/AzureSignTool/AzureSignTool.csproj -o ./dist
|
||||||
|
cp ./dist/AzureSignTool %USERPROFILE%\.dotnet\tools
|
||||||
displayName: 'Install AST'
|
displayName: 'Install AST'
|
||||||
|
#dotnet pack --output ./nupkg
|
||||||
|
#dotnet tool install --global --ignore-failed-sources --add-source ./nupkg --version 0.0.0-gce87e84a58 azuresigntool
|
||||||
|
|
||||||
|
- script: |
|
||||||
|
AzureSignTool sign --help
|
||||||
|
exit 1
|
||||||
|
displayName: 'Debug AST installation'
|
||||||
|
|
||||||
|
|
||||||
- task: PowerShell@2
|
- task: PowerShell@2
|
||||||
inputs:
|
inputs:
|
||||||
|
|
Loading…
Reference in New Issue