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:
|
matrix:
|
||||||
os: [windows-latest, ubuntu-latest, macos-latest]
|
os: [windows-latest, ubuntu-latest, macos-latest]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v2
|
||||||
- name: Fetch tags and master for GitVersion
|
- name: Fetch all history for all tags and branches
|
||||||
run: |
|
run: |
|
||||||
git fetch --tags
|
git fetch --prune --unshallow
|
||||||
git branch --create-reflog master origin/master
|
|
||||||
- name: Install GitVersion
|
- name: Install GitVersion
|
||||||
uses: ./setup-gitversion
|
uses: ./setup-gitversion
|
||||||
with:
|
with:
|
||||||
|
|||||||
7
.github/workflows/release.yml
vendored
7
.github/workflows/release.yml
vendored
@@ -11,11 +11,10 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest]
|
os: [ubuntu-latest]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v2
|
||||||
- name: Fetch tags and master for GitVersion
|
- name: Fetch all history for all tags and branches
|
||||||
run: |
|
run: |
|
||||||
git fetch --tags
|
git fetch --prune --unshallow
|
||||||
git branch --create-reflog master origin/master
|
|
||||||
- name: Install GitVersion
|
- name: Install GitVersion
|
||||||
uses: ./setup-gitversion
|
uses: ./setup-gitversion
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user