Skip to content

fix binplace file in web pipeline #23930

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 7, 2025
Merged
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
12 changes: 10 additions & 2 deletions tools/ci_build/github/azure-pipelines/templates/win-web-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,18 @@ jobs:
inputs:
sourceFolder: $(Pipeline.Workspace)\artifacts
contents: |
**\*.*
**\ort-*.wasm
targetFolder: $(Build.SourcesDirectory)\js\web\dist
flattenFolders: true
displayName: 'Binplace dist files'
displayName: 'Binplace dist files (.wasm)'
- task: CopyFiles@2
inputs:
sourceFolder: $(Pipeline.Workspace)\artifacts
contents: |
**\ort-*.mjs
targetFolder: $(Build.SourcesDirectory)\js\web\dist
flattenFolders: true
displayName: 'Binplace dist files (.mjs)'
- script: |
npm ci
workingDirectory: '$(Build.SourcesDirectory)\js'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,18 @@ jobs:
inputs:
sourceFolder: $(Pipeline.Workspace)\artifacts
contents: |
**\*.*
**\ort-*.wasm
targetFolder: $(Build.SourcesDirectory)\js\web\dist
flattenFolders: true
displayName: 'Binplace dist files'
displayName: 'Binplace dist files (.wasm)'
- task: CopyFiles@2
inputs:
sourceFolder: $(Pipeline.Workspace)\artifacts
contents: |
**\ort-*.mjs
targetFolder: $(Build.SourcesDirectory)\js\web\dist
flattenFolders: true
displayName: 'Binplace dist files (.mjs)'
- script: |
npm ci
workingDirectory: '$(Build.SourcesDirectory)\js'
Expand Down
Loading