Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions azure-pipelines-steps-module-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
steps:
- ${{ if eq(variables['Build.SourceBranch'], 'refs/heads/master') }}:
# npm install
- task: Npm@1
displayName: npm install for powershell
inputs:
command: install
workingDir: powershell

- script: node make.js build
displayName: node make.js build
workingDirectory: powershell
- task: PowerShell@2
inputs:
workingDirectory: powershell
filePath: './powershell/publish.ps1'
arguments: '-ApiKey $(PSGalleryApiKey)'
pwsh: true

1 change: 1 addition & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
nodeVersion: $(nodeVersion)

- template: azure-pipelines-steps-test-build.yml
- template: azure-pipelines-steps-module-publish.yml

#################################################
- job: linux
Expand Down
23 changes: 0 additions & 23 deletions ci/powershell/publish-job.yml

This file was deleted.