From 88007cb2184cbf10a05e18ce460ec1ecc8f01fd4 Mon Sep 17 00:00:00 2001 From: Artur Stolear Date: Wed, 15 Jan 2020 17:59:19 +0200 Subject: [PATCH] use actions/checkout@v2 --- .github/workflows/ci.yml | 7 +++---- .github/workflows/release.yml | 7 +++---- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b247e02..e74ada8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,11 +9,10 @@ jobs: matrix: os: [windows-latest, ubuntu-latest, macos-latest] steps: - - uses: actions/checkout@v1 - - name: Fetch tags and master for GitVersion + - uses: actions/checkout@v2 + - name: Fetch all history for all tags and branches run: | - git fetch --tags - git branch --create-reflog master origin/master + git fetch --prune --unshallow - name: Install GitVersion uses: ./setup-gitversion with: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1b17acd..cee42fd 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,11 +11,10 @@ jobs: matrix: os: [ubuntu-latest] steps: - - uses: actions/checkout@v1 - - name: Fetch tags and master for GitVersion + - uses: actions/checkout@v2 + - name: Fetch all history for all tags and branches run: | - git fetch --tags - git branch --create-reflog master origin/master + git fetch --prune --unshallow - name: Install GitVersion uses: ./setup-gitversion with: