diff --git a/.github/workflows/build-deb-package.yml b/.github/workflows/build-deb-package.yml index 44f7ac268..57ee24a71 100644 --- a/.github/workflows/build-deb-package.yml +++ b/.github/workflows/build-deb-package.yml @@ -29,12 +29,10 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 - - - name: Unshallow - run: | - git fetch --prune --unshallow - git describe --tags + uses: actions/checkout@v4 + with: + # Fetch the whole history for all tags and branches (required for aleph.__version__) + fetch-depth: 0 - run: | cd packaging && make all-podman-debian-12 && cd .. @@ -92,7 +90,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Workaround github issue https://github.com/actions/runner-images/issues/7192 run: sudo echo RESET grub-efi/install_devices | sudo debconf-communicate grub-pc