From 652bd651026666b757aa6b160f1862fedce2215b Mon Sep 17 00:00:00 2001 From: Mario Limonciello Date: Wed, 12 Oct 2022 08:49:28 -0500 Subject: [PATCH] trivial: snap: ci: set fetch depth for checkout To make `git describe` work we need to have all the history. --- .github/workflows/snap.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/snap.yml b/.github/workflows/snap.yml index 09735704b..4babe42ed 100644 --- a/.github/workflows/snap.yml +++ b/.github/workflows/snap.yml @@ -14,6 +14,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 + with: + fetch-depth: 0 - uses: snapcore/action-build@v1 id: snapcraft - uses: actions/upload-artifact@v3