fix typo and update
This commit is contained in:
@@ -65,9 +65,9 @@ stages:
|
|||||||
xcodebuild test -scheme onnxruntime -destination 'platform=iOS Simulator,name=iPhone 14'
|
xcodebuild test -scheme onnxruntime -destination 'platform=iOS Simulator,name=iPhone 14'
|
||||||
rm swift/pod-archive-onnxruntime-c-*.zip
|
rm swift/pod-archive-onnxruntime-c-*.zip
|
||||||
workingDirectory: "$(Build.SourcesDirectory)"
|
workingDirectory: "$(Build.SourcesDirectory)"
|
||||||
displayName: "Print ORT iOS Pod checksum and test Package.swift usage"
|
displayName: "Print ORT iOS Pod checksum and Test Package.swift usage"
|
||||||
|
|
||||||
- publish: "$(Build.ArtifactStagingDirectory)/$(artifactName)"
|
- publish: "$(Build.ArtifactStagingDirectory)/$(artifactsName)"
|
||||||
artifact: ios_packaging_artifacts
|
artifact: ios_packaging_artifacts
|
||||||
displayName: "Publish artifacts"
|
displayName: "Publish artifacts"
|
||||||
|
|
||||||
@@ -94,13 +94,17 @@ stages:
|
|||||||
parameters:
|
parameters:
|
||||||
xcodeVersion: ${{ variables.xcodeVersion }}
|
xcodeVersion: ${{ variables.xcodeVersion }}
|
||||||
|
|
||||||
# - script: |
|
- script: |
|
||||||
# set -e -x
|
set -e -x
|
||||||
# VERSION_FILE="$(Build.SourcesDirectory)/version.txt"
|
VERSION_FILE="$(Build.SourcesDirectory)/version.txt"
|
||||||
# SPM_POD_VERSION="$(cat "${VERSION_FILE}")"
|
SPM_POD_VERSION="$(cat "${VERSION_FILE}")"
|
||||||
# shasum -a 256 "https://onnxruntimepackages.z14.web.core.windows.net/pod-archive-onnxruntime-c-${SPM_POD_VERSION}.zip"
|
|
||||||
# workingDirectory: "$(Build.SourcesDirectory)"
|
POD_ARCHIVE_URL="https://onnxruntimepackages.z14.web.core.windows.net/pod-archive-onnxruntime-c-${SPM_POD_VERSION}.zip"
|
||||||
# displayName: "Print ORT iOS Release Pod checksum"
|
|
||||||
|
curl -o pod-archive-onnxruntime-c-${SPM_POD_VERSION}.zip ${POD_ARCHIVE_URL}
|
||||||
|
shasum -a 256 "pod-archive-onnxruntime-c-${SPM_POD_VERSION}.zip"
|
||||||
|
workingDirectory: "$(Build.SourcesDirectory)"
|
||||||
|
displayName: "Print ORT iOS Release Pod checksum"
|
||||||
|
|
||||||
- script: |
|
- script: |
|
||||||
set -e -x
|
set -e -x
|
||||||
|
|||||||
Reference in New Issue
Block a user