From b03ef3ec21ff301f89daa96f86572b526616d273 Mon Sep 17 00:00:00 2001 From: Philippe Teuwen Date: Tue, 26 Sep 2023 00:08:33 +0200 Subject: [PATCH] build_firmware.yml: fetch depth=0 to be able to build proper version strings --- .github/workflows/build_firmware.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build_firmware.yml b/.github/workflows/build_firmware.yml index b584580..8639bce 100644 --- a/.github/workflows/build_firmware.yml +++ b/.github/workflows/build_firmware.yml @@ -23,6 +23,7 @@ jobs: uses: actions/checkout@v3 with: ref: ${{ inputs.checkout-sha == null && github.sha || inputs.checkout-sha }} + fetch-depth: 0 - name: ghcr.io login uses: docker/login-action@v2 with: @@ -56,6 +57,7 @@ jobs: uses: actions/checkout@v3 with: ref: ${{ inputs.checkout-sha == null && github.sha || inputs.checkout-sha }} + fetch-depth: 0 - name: Build firmware env: repo: ${{ github.repository }}