build_firmware.yml: fetch depth=0 to be able to build proper version strings

This commit is contained in:
Philippe Teuwen
2023-09-26 00:47:58 +02:00
parent 963d4d62f1
commit b03ef3ec21
+2
View File
@@ -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 }}