use actions/checkout@v2
This commit is contained in:
7
.github/workflows/ci.yml
vendored
7
.github/workflows/ci.yml
vendored
@@ -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:
|
||||
|
||||
7
.github/workflows/release.yml
vendored
7
.github/workflows/release.yml
vendored
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user