trivial: snap: ci: set fetch depth for checkout

To make `git describe` work we need to have all the history.
This commit is contained in:
Mario Limonciello 2022-10-12 08:49:28 -05:00 committed by Mario Limonciello
parent f68a35e664
commit 652bd65102

View File

@ -14,6 +14,8 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: snapcore/action-build@v1 - uses: snapcore/action-build@v1
id: snapcraft id: snapcraft
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v3