use actions/checkout@v2

This commit is contained in:
Artur Stolear
2020-01-15 17:59:19 +02:00
parent 036fb8fb1d
commit 88007cb218
2 changed files with 6 additions and 8 deletions

View File

@@ -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:

View File

@@ -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: