From b81a440b7c3c265699d9d9439183cbba08ecfe9d Mon Sep 17 00:00:00 2001 From: VintagePC <53943260+vintagepc@users.noreply.github.com> Date: Fri, 22 Sep 2023 17:31:33 -0400 Subject: [PATCH] Do full fetch for versioning information --- .github/workflows/build.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5a1133b7c..f5b19ff04 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,7 +18,7 @@ jobs: # setup base required dependencies - name: Setup dependencies run: | - sudo apt-get install cmake ninja-build python3-pyelftools python3-regex python3-polib git + sudo apt-get install cmake ninja-build python3-pyelftools python3-regex python3-polib # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - name: Checkout ${{ github.event.pull_request.head.ref }} @@ -27,6 +27,7 @@ jobs: with: ref: ${{ github.event.pull_request.head.sha }} submodules: true + fetch-depth: 0 - name: Checkout ${{ github.event.ref }} uses: actions/checkout@v3 @@ -34,6 +35,7 @@ jobs: with: ref: ${{ github.event.ref }} submodules: true + fetch-depth: 0 - name: Cache Dependencies uses: actions/cache@v3.0.11