Skip to content

Commit

Permalink
set win prereqs
Browse files Browse the repository at this point in the history
  • Loading branch information
mryzhov committed Mar 21, 2024
1 parent 649a493 commit c7b65dd
Showing 1 changed file with 18 additions and 7 deletions.
25 changes: 18 additions & 7 deletions .github/workflows/cache_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,26 @@ jobs:
with:
path: ${{ env.OPENVINO_REPO }}

- name: Test preconditions
# - name: Test preconditions(lin)
# run: |
# mkdir -p ${CACHE_TMP}
# echo test > ${CACHE_TMP}/file.txt
# mkdir -p ${CACHE_REMOTE}
# pushd ${CACHE_TMP}
# tar -czvf ${CACHE_REMOTE}/test_cache_$(date '+%Y%m%d%S').cache *
# popd
# ls -la ${CACHE_REMOTE}


- name: Test preconditions(win)
run: |
mkdir -p ${CACHE_TMP}
echo test > ${CACHE_TMP}/file.txt
mkdir -p ${CACHE_REMOTE}
pushd ${CACHE_TMP}
tar -czvf ${CACHE_REMOTE}/test_cache_$(date '+%Y%m%d%S').cache *
mkdir -p ${env:CACHE_TMP}
echo test > ${env:CACHE_TMP}/file.txt
mkdir -p ${env:CACHE_REMOTE}
pushd ${env:CACHE_TMP}
tar -czvf ${env:CACHE_REMOTE}/test_cache_$(date '+%Y%m%d%S').cache *
popd
ls -la ${CACHE_REMOTE}
ls -la ${env:CACHE_REMOTE}
- name: Test Local Action
id: test-action
Expand Down

0 comments on commit c7b65dd

Please sign in to comment.