Skip to content

Commit 6ca9d13

Browse files
authored
ci: fix cache if there is no update (#2959)
1 parent b890d4b commit 6ca9d13

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/_merge_cache.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,16 @@ jobs:
3535
path: ${{ inputs.pypi-dir }}
3636
key: ${{ inputs.pypi-key }}
3737

38+
- name: show pulled caches
39+
continue-on-error: true
40+
run: ls -lh ${{ inputs.pypi-dir }}
41+
3842
- name: show 📦
3943
run: |
4044
# create the directory if it doesn't exist - no artifact were found
4145
mkdir -p _local-packages
4246
ls -lh _local-packages
43-
ls -lh ${{ inputs.pypi-dir }}
47+
mkdir -p ${{ inputs.pypi-dir }}
4448
# count files in the staging dir
4549
file_count=$(ls -1 "_local-packages/" | wc -l)
4650
echo "NUM_PACKAGES=$file_count" >> $GITHUB_ENV

0 commit comments

Comments
 (0)