From 0a65fe415652655cc07a436cd99876214d70fd8e Mon Sep 17 00:00:00 2001 From: Albert Liu <45282415+ggrtk@users.noreply.github.com> Date: Tue, 30 Jun 2020 23:00:07 -0700 Subject: [PATCH] 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. --- .github/workflows/rolling-release.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/rolling-release.yml b/.github/workflows/rolling-release.yml index fc2d804c0..e63fddaba 100644 --- a/.github/workflows/rolling-release.yml +++ b/.github/workflows/rolling-release.yml @@ -10,8 +10,9 @@ jobs: windows-build: runs-on: windows-2019 steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v2.3.1 with: + fetch-depth: 0 submodules: true - name: Compile release build @@ -56,7 +57,9 @@ jobs: linux-build: runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v2.3.1 + with: + fetch-depth: 0 - name: Install packages shell: bash