diff --git a/.github/workflows/HDMF_dev.yaml b/.github/workflows/HDMF_dev.yaml index 4500b792..1ecc4fde 100644 --- a/.github/workflows/HDMF_dev.yaml +++ b/.github/workflows/HDMF_dev.yaml @@ -11,6 +11,8 @@ jobs: steps: - name: Checkout repo uses: actions/checkout@v4 + with: + fetch-depth: 0 # tags are required to determine the version - name: Set up Python uses: actions/setup-python@v5 diff --git a/.github/workflows/deploy_release.yml b/.github/workflows/deploy_release.yml index bffde629..aeffa18e 100644 --- a/.github/workflows/deploy_release.yml +++ b/.github/workflows/deploy_release.yml @@ -11,6 +11,8 @@ jobs: steps: - name: Checkout repo uses: actions/checkout@v4 + with: + fetch-depth: 0 # tags are required to determine the version - name: Set up Python uses: actions/setup-python@v5 diff --git a/.github/workflows/run_all_tests.yml b/.github/workflows/run_all_tests.yml index 13a38d2b..129cdad8 100644 --- a/.github/workflows/run_all_tests.yml +++ b/.github/workflows/run_all_tests.yml @@ -49,6 +49,8 @@ jobs: steps: - name: Checkout repo uses: actions/checkout@v4 + with: + fetch-depth: 0 # tags are required to determine the version - name: Set up Python uses: actions/setup-python@v5 @@ -103,6 +105,8 @@ jobs: steps: - name: Checkout repo uses: actions/checkout@v4 + with: + fetch-depth: 0 # tags are required to determine the version - name: Set up Python uses: actions/setup-python@v5 @@ -142,6 +146,8 @@ jobs: steps: - name: Checkout repo uses: actions/checkout@v4 + with: + fetch-depth: 0 # tags are required to determine the version - name: Set up Conda uses: conda-incubator/setup-miniconda@v3 diff --git a/.github/workflows/run_tests.yml b/.github/workflows/run_tests.yml index 521995c1..0fd692c5 100644 --- a/.github/workflows/run_tests.yml +++ b/.github/workflows/run_tests.yml @@ -35,6 +35,8 @@ jobs: steps: - name: Checkout repo uses: actions/checkout@v4 + with: + fetch-depth: 0 # tags are required to determine the version - name: Set up Python uses: actions/setup-python@v5 @@ -91,6 +93,8 @@ jobs: steps: - name: Checkout repo uses: actions/checkout@v4 + with: + fetch-depth: 0 # tags are required to determine the version - name: Set up Python uses: actions/setup-python@v5 @@ -126,6 +130,8 @@ jobs: steps: - name: Checkout repo uses: actions/checkout@v4 + with: + fetch-depth: 0 # tags are required to determine the version - name: Set up Conda uses: conda-incubator/setup-miniconda@v3 @@ -175,6 +181,8 @@ jobs: steps: - name: Checkout repo uses: actions/checkout@v4 + with: + fetch-depth: 0 # tags are required to determine the version - name: Set up Python uses: actions/setup-python@v5