Skip to content

Commit

Permalink
Change artifact name
Browse files Browse the repository at this point in the history
  • Loading branch information
jchen351 committed Jan 17, 2025
1 parent c80286b commit 1601765
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 39 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ stages:

- stage: Download_Node_Package_And_Publish_Validation_Script
dependsOn:
- ReactNative_CI
- ReactNative_CI_Android
- ReactNative_CI_iOS
- Build_web_Release
- Build_web_Debug
jobs:
Expand All @@ -72,12 +73,12 @@ stages:
timeoutInMinutes: 10
steps:
- download: build
artifact: 'NPM_packages'
artifact: 'onnxruntime-react-native'
displayName: 'Download onnxruntime-node Pipeline Artifact'

- task: CopyFiles@2
inputs:
sourceFolder: '$(Pipeline.Workspace)\build\NPM_packages'
sourceFolder: '$(Pipeline.Workspace)\build\onnxruntime-react-native'
contents: onnxruntime-*.tgz
targetFolder: $(Build.ArtifactStagingDirectory)\node-artifacts
displayName: 'Copy onnxruntime-node Artifacts'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -265,48 +265,13 @@ stages:
condition: succeededOrFailed()
displayName: Publish React Native Detox iOS e2e Test Results



- script: |
git restore .
workingDirectory: '$(Build.SourcesDirectory)/js'
displayName: Restore git changes
- task: PowerShell@2
inputs:
filePath: '$(Build.SourcesDirectory)/tools/ci_build/github/js/pack-npm-packages.ps1'
arguments: '"${{parameters.NpmPackagingMode}}" $(Build.SourcesDirectory) react_native'
workingDirectory: '$(Build.SourcesDirectory)'
errorActionPreference: stop
displayName: Pack NPM packages

- task: CopyFiles@2
inputs:
sourceFolder: $(Build.SourcesDirectory)/js/common
contents: onnxruntime-common*.tgz
targetFolder: $(Build.ArtifactStagingDirectory)
displayName: 'Create Artifacts onnxruntime-common'

- task: CopyFiles@2
inputs:
sourceFolder: $(Build.SourcesDirectory)/js/react_native
contents: onnxruntime-react-native*.tgz
targetFolder: $(Build.ArtifactStagingDirectory)
displayName: Create Artifacts onnxruntime-react-native

- task: PublishPipelineArtifact@1
inputs:
artifact: ios_e2e_test_logs_$(Build.BuildId)_$(Build.BuildNumber)_$(System.JobAttempt)
targetPath: '$(Build.SourcesDirectory)/js/react_native/e2e/artifacts'
condition: succeededOrFailed()
displayName: Publish React Native Detox E2E test logs

- task: PublishPipelineArtifact@0
inputs:
artifactName: 'NPM_packages_ios'
targetPath: '$(Build.ArtifactStagingDirectory)'
displayName: Publish Pipeline Artifact

- template: explicitly-defined-final-tasks.yml


Expand Down Expand Up @@ -504,7 +469,7 @@ stages:

- task: PublishPipelineArtifact@0
inputs:
artifactName: 'NPM_packages_android'
artifactName: '${{parameters.PackageName}}'
targetPath: '$(Build.ArtifactStagingDirectory)'
displayName: Publish Pipeline Artifact

Expand Down

0 comments on commit 1601765

Please sign in to comment.