diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 6f7f45d..8a67d16 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -16,7 +16,10 @@ jobs: if: ${{ startsWith(github.ref, 'refs/tags') || !contains(github.event.head_commit.message, '[skip ci]') }} steps: + - name: Checkout code - uses: actions/checkout@v4 + with: + fetch-tags: true - name: Checkout submodules run: | diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 72c8088..b828a72 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -24,7 +24,9 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v4 + - uses: actions/checkout@v4 + with: + fetch-tags: true - name: Set up python versions ${{ matrix.python-version }} uses: actions/setup-python@v5 diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 6f3ce06..a0dba16 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -22,7 +22,9 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v4 + - uses: actions/checkout@v4 + with: + fetch-tags: true - name: Checkout submodules run: |