Skip to content

Commit

Permalink
Try to better workaround workspace runner issue
Browse files Browse the repository at this point in the history
  • Loading branch information
akladiev committed Jul 23, 2024
1 parent 4e9ebbb commit 39342b3
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/actions/create_manifest/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ runs:
- name: Install Python dependencies
shell: ${{ runner.os == 'Windows' && 'pwsh' || 'bash' }}
run: >-
pip install -r "${{ inputs.action_path && inputs.action_path || github.action_path }}/requirements.txt"
pip install -r ${{ env.GITHUB_ACTION_PATH }}/requirements.txt
- name: 'Create manifest'
id: create_manifest
shell: ${{ runner.os == 'Windows' && 'pwsh' || 'bash' }}
run: >-
python ${{ inputs.action_path && inputs.action_path || github.action_path }}/create_manifest.py
python ${{ env.GITHUB_ACTION_PATH }}/create_manifest.py
--target_arch "${{ inputs.target_arch }}" --build_type "${{ inputs.build_type }}"
--save_to "${{ inputs.save_to }}" --product_type "${{ inputs.product_type }}" -r "${{ inputs.repos }}"
env:
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/store_artifacts/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ runs:
- name: Install Python dependencies
shell: ${{ runner.os == 'Windows' && 'pwsh' || 'bash' }}
run: >-
pip install -r "${{ inputs.action_path && inputs.action_path || github.action_path }}/requirements.txt"
pip install -r ${{ env.GITHUB_ACTION_PATH }}/requirements.txt
- name: 'Copy artifacts'
id: copy_artifacts
shell: ${{ runner.os == 'Windows' && 'pwsh' || 'bash' }}
run: >-
python ${{ inputs.action_path && inputs.action_path || github.action_path }}/store_artifacts.py
python ${{ env.GITHUB_ACTION_PATH }}/store_artifacts.py
--storage_dir "${{ inputs.storage_dir }}" --storage_root "${{ inputs.storage_root }}"
-a "${{ inputs.artifacts }}"
env:
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,6 @@ jobs:
repos: |
${{ env.OPENVINO_REPO }}
${{ env.OPENVINO_CONTRIB_REPO }}
action_path: ${{ env.GITHUB_WORKSPACE }}/openvino/.github/actions/create_manifest
product_type: ${{ env.PRODUCT_TYPE }}
target_arch: 'intel64'
build_type: 'release'
Expand Down Expand Up @@ -338,7 +337,6 @@ jobs:
${{ env.MANIFEST_PATH }}
storage_dir: ${{ env.PRODUCT_TYPE }}
storage_root: ${{ env.ARTIFACTS_SHARE }}
action_path: ${{ env.GITHUB_WORKSPACE }}/openvino/.github/actions/store_artifacts

Debian_Packages:
name: Debian Packages
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/linux_arm64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,6 @@ jobs:
repos: |
${{ env.OPENVINO_REPO }}
${{ env.OPENVINO_CONTRIB_REPO }}
action_path: ${{ env.GITHUB_WORKSPACE }}/openvino/.github/actions/create_manifest
product_type: ${{ env.PRODUCT_TYPE }}
target_arch: 'aarch64'
build_type: 'release'
Expand Down Expand Up @@ -322,7 +321,6 @@ jobs:
${{ env.MANIFEST_PATH }}
storage_dir: ${{ env.PRODUCT_TYPE }}
storage_root: ${{ env.ARTIFACTS_SHARE }}
action_path: ${{ env.GITHUB_WORKSPACE }}/openvino/.github/actions/store_artifacts

Debian_Packages:
name: Debian Packages
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@ jobs:
repos: |
${{ env.OPENVINO_REPO }}
${{ env.OPENVINO_CONTRIB_REPO }}
action_path: ${{ github.workspace }}/openvino/.github/actions/create_manifest
product_type: ${{ env.PRODUCT_TYPE }}
target_arch: 'intel64'
build_type: 'release'
Expand Down Expand Up @@ -267,7 +266,6 @@ jobs:
${{ env.MANIFEST_PATH }}
storage_dir: ${{ env.PRODUCT_TYPE }}
storage_root: ${{ env.ARTIFACTS_SHARE }}
action_path: ${{ github.workspace }}/openvino/.github/actions/store_artifacts

Samples:
needs: [ Build, Smart_CI ]
Expand Down

0 comments on commit 39342b3

Please sign in to comment.