From a58feaa16ec06e5a8368eecc45b0ffe50058ca4c Mon Sep 17 00:00:00 2001 From: Robin Lange Date: Tue, 20 Jul 2021 18:37:35 +1000 Subject: [PATCH] [build] Disable shallow cloning in GitHub actions This fixes the HUD not showing the full DXVK version when using builds from GitHub actions. Explanation: By default, the "checkout" step only clones the repository with a depth of 1. This causes `git describe` to fail in Meson, causing it to fall back to the project version number instead. --- .github/workflows/artifacts.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/artifacts.yml b/.github/workflows/artifacts.yml index ea7c969b3..3e675e667 100644 --- a/.github/workflows/artifacts.yml +++ b/.github/workflows/artifacts.yml @@ -12,6 +12,7 @@ jobs: uses: actions/checkout@v2 with: submodules: recursive + fetch-depth: 0 - name: Setup problem matcher uses: Joshua-Ashton/gcc-problem-matcher@v1