Skip to content

Commit

Permalink
Update sdf-release.yml for Azure Pipelines (#2292)
Browse files Browse the repository at this point in the history
* Update sdf-release.yml for Azure Pipelines

* Update sdf-release.yml for Azure Pipelines
  • Loading branch information
jekloudaMSFT authored and alexneyman-MSFT committed May 9, 2024
1 parent b0c0b0b commit ecfa5b0
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions tools/releases/sdf-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ resources:
name: OneBranch.Pipelines/GovernedTemplates
ref: refs/heads/main
pipelines:
- pipeline: _OfficeDev.microsoft-teams-library-js
source: OfficeDev.microsoft-teams-library-js
- pipeline: microsoft-teams-library-js-pipeline
source: 'M365 Platform/App SDK/OfficeDev.microsoft-teams-library-js'
project: ISS
variables:
- name: System.Debug
Expand All @@ -32,7 +32,7 @@ extends:
pool:
type: release
steps:
- download: _OfficeDev.microsoft-teams-library-js
- download: microsoft-teams-library-js-pipeline
- task: prepare-deployment@1
displayName:
inputs:
Expand All @@ -57,24 +57,24 @@ extends:
- task: PowerShell@2
displayName: Update npmrc with NPM-TOKEN
inputs:
filePath: $(PIPELINE.WORKSPACE)\_OfficeDev.microsoft-teams-library-js\scripts\add-npmrc-npmtoken.ps1
filePath: $(PIPELINE.WORKSPACE)\microsoft-teams-library-js-pipeline\scripts\add-npmrc-npmtoken.ps1
- task: Npm@1
displayName: Publish to npm (tag beta) KV
inputs:
command: custom
workingDir: $(System.DefaultWorkingDirectory)/_OfficeDev.microsoft-teams-library-js/NPMFeed
workingDir: $(System.DefaultWorkingDirectory)/microsoft-teams-library-js-pipeline/NPMFeed
verbose: false
customCommand: publish --tag beta
- task: M365CdnAssetsUpload@1
displayName: Push teams-js to M365 1CDN (SDF)
inputs:
SourcePath: $(System.DefaultWorkingDirectory)/_OfficeDev.microsoft-teams-library-js/CDNFeed/*
SourcePath: $(System.DefaultWorkingDirectory)/microsoft-teams-library-js-pipeline/CDNFeed/*
ConnectedServiceNameARM: $(serviceConnectionId)
Environment: PublicCloudSDF
ContainerName: teams-js
AdditionalArgumentsForBlobCopy: --overwrite=false --log-level=INFO --recursive
- task: PowerShell@2
displayName: View Published Package URLs
inputs:
filePath: $(PIPELINE.WORKSPACE)\_OfficeDev.microsoft-teams-library-js\scripts\view-published-packages-urls.ps1
filePath: $(PIPELINE.WORKSPACE)\microsoft-teams-library-js-pipeline\scripts\view-published-packages-urls.ps1
arguments: $(System.DefaultWorkingDirectory)

0 comments on commit ecfa5b0

Please sign in to comment.