GitHub Actions: Update to checkout action v2.3.1 with fetch-depth: 0
Checkout v2+ checks out a local branch rather than a detached head. Branch name for releases should now be master instead of HEAD.
This commit is contained in:
parent
0a0a2024fd
commit
0a65fe4156
|
@ -10,8 +10,9 @@ jobs:
|
||||||
windows-build:
|
windows-build:
|
||||||
runs-on: windows-2019
|
runs-on: windows-2019
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v2.3.1
|
||||||
with:
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
submodules: true
|
submodules: true
|
||||||
|
|
||||||
- name: Compile release build
|
- name: Compile release build
|
||||||
|
@ -56,7 +57,9 @@ jobs:
|
||||||
linux-build:
|
linux-build:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v2.3.1
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Install packages
|
- name: Install packages
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
Loading…
Reference in New Issue