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