Do not run fetch on tags
@@ -42,6 +42,7 @@ jobs:
with:
miniconda-version: "latest"
- name: Fetch unshallow
+ if: !(startsWith(github.ref, 'ref/tags/'))
run: git fetch --prune --tags --unshallow
- name: conda setup
run: |
