mirror of
https://github.com/julia-actions/cache.git
synced 2026-02-12 09:26:53 +08:00
Soft fail registry update (#143)
This commit is contained in:
@@ -140,6 +140,7 @@ runs:
|
||||
# Pkg operations. So this is only necessary for newer julia versions.
|
||||
- name: Update any cached registries
|
||||
if: ${{ inputs.cache-registries == 'true' }}
|
||||
continue-on-error: true
|
||||
run: |
|
||||
if [ -d "${{ steps.paths.outputs.depot }}/registries" ] && [ -n "$(ls -A "${{ steps.paths.outputs.depot }}/registries")" ]; then
|
||||
echo "Registries directory exists and is non-empty. Updating any registries"
|
||||
|
||||
Reference in New Issue
Block a user