;ci: get all history to fix git describe/--version (#1543)

This commit is contained in:
Simon Michael 2021-06-03 22:44:46 -10:00
parent eeb23c2e76
commit d16cd267f9
4 changed files with 12 additions and 0 deletions

View File

@ -81,6 +81,9 @@ jobs:
- name: Check out - name: Check out
uses: actions/checkout@v2 uses: actions/checkout@v2
# have to fetch everything for git describe for --version
with: fetch-depth: 0
run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*
# things to be cached/restored: # things to be cached/restored:

View File

@ -51,6 +51,9 @@ jobs:
- name: Check out - name: Check out
uses: actions/checkout@v2 uses: actions/checkout@v2
# have to fetch everything for git describe for --version
with: fetch-depth: 0
run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*
# things to be cached/restored: # things to be cached/restored:

View File

@ -46,6 +46,9 @@ jobs:
- name: Check out - name: Check out
uses: actions/checkout@v2 uses: actions/checkout@v2
# have to fetch everything for git describe for --version
with: fetch-depth: 0
run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*
# things to be cached/restored: # things to be cached/restored:

View File

@ -41,6 +41,9 @@ jobs:
- name: Check out - name: Check out
uses: actions/checkout@v2 uses: actions/checkout@v2
# have to fetch everything for git describe for --version
with: fetch-depth: 0
run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*
# things to be cached/restored: # things to be cached/restored: