1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2024-11-29 01:24:11 +01:00

[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.
This commit is contained in:
Robin Lange 2021-07-20 18:37:35 +10:00 committed by Joshie
parent 6ba3d2f9d4
commit a58feaa16e

View File

@ -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