Do full fetch for versioning information
This commit is contained in:
parent
a6d1985742
commit
b81a440b7c
|
|
@ -18,7 +18,7 @@ jobs:
|
||||||
# setup base required dependencies
|
# setup base required dependencies
|
||||||
- name: Setup dependencies
|
- name: Setup dependencies
|
||||||
run: |
|
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
|
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
||||||
- name: Checkout ${{ github.event.pull_request.head.ref }}
|
- name: Checkout ${{ github.event.pull_request.head.ref }}
|
||||||
|
|
@ -27,6 +27,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
ref: ${{ github.event.pull_request.head.sha }}
|
ref: ${{ github.event.pull_request.head.sha }}
|
||||||
submodules: true
|
submodules: true
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Checkout ${{ github.event.ref }}
|
- name: Checkout ${{ github.event.ref }}
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
@ -34,6 +35,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
ref: ${{ github.event.ref }}
|
ref: ${{ github.event.ref }}
|
||||||
submodules: true
|
submodules: true
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Cache Dependencies
|
- name: Cache Dependencies
|
||||||
uses: actions/cache@v3.0.11
|
uses: actions/cache@v3.0.11
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue