Skip to content

Commit

Permalink
[GHA][ov-provider] Use github.workspace for upload-artifact (openvino…
Browse files Browse the repository at this point in the history
…toolkit#27820)

Will require switching env.GITHUB_WORKSPACE workaround to
github.workspace mount in pipelines using OV provider

Signed-off-by: Alina Kladieva <[email protected]>
Co-authored-by: Mikhail Ryzhov <[email protected]>
  • Loading branch information
akladiev and mryzhov committed Dec 6, 2024
1 parent c3c257b commit de78d1b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/actions/openvino_provider/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ runs:
else
ov_package_url=$(curl -s ${{ inputs.nightly_package_source }} | jq -r '.${{ inputs.platform }}_${{ inputs.arch }}')
fi
cd ${{ inputs.install_dir || env.GITHUB_WORKSPACE }}
cd ${{ inputs.install_dir || github.workspace }}
package_basename=$(basename $ov_package_url)
wget $ov_package_url --progress=bar:force:noscroll -O $package_basename
package_folder=${package_basename%.*}
Expand All @@ -196,7 +196,7 @@ runs:
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0
with:
name: ${{ steps.openvino_s3_download.outputs.ov_artifact_name }}
path: ${{ steps.openvino_s3_download.outputs.ov_package_path }}
path: ${{ github.workspace }}/${{ steps.openvino_s3_download.outputs.ov_package_path }}
if-no-files-found: 'error'

- name: Get wheel
Expand Down

0 comments on commit de78d1b

Please sign in to comment.