Do full fetch for versioning information

This commit is contained in:
VintagePC 2023-09-22 17:31:33 -04:00
parent a6d1985742
commit b81a440b7c
1 changed files with 3 additions and 1 deletions

View File

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