diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index d90d9f4cd6..ec4e561200 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -34,7 +34,10 @@ jobs: uses: https://github.com/actions/checkout@v4 with: submodules: recursive - fetch-depth: 0 + fetch-depth: 1 + + - name: Fetch tags (for git describe) + run: git fetch --tags --no-recurse-submodules origin - name: Install pixi run: | diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index c5c43f76d0..79ad4288ab 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -43,8 +43,10 @@ jobs: uses: https://github.com/actions/checkout@v4 with: submodules: recursive - fetch-depth: 0 - fetch-tags: true + fetch-depth: 1 + + - name: Fetch tags + run: git fetch --tags --no-recurse-submodules origin - name: Install pixi run: | @@ -140,8 +142,10 @@ jobs: uses: https://github.com/actions/checkout@v4 with: submodules: recursive - fetch-depth: 0 - fetch-tags: true + fetch-depth: 1 + + - name: Fetch tags + run: git fetch --tags --no-recurse-submodules origin - name: Install pixi run: | @@ -217,8 +221,11 @@ jobs: uses: https://github.com/actions/checkout@v4 with: submodules: recursive - fetch-depth: 0 - fetch-tags: true + fetch-depth: 1 + + - name: Fetch tags + shell: bash + run: git fetch --tags --no-recurse-submodules origin - name: Install pixi shell: bash