Workflow tweak (#36)
Removed redundant fetch, as the checkout@v4 action already fetches the complete repo history.
This commit is contained in:
parent
ec9bdfcf5d
commit
c9bc402fb3
1 changed files with 2 additions and 10 deletions
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
|
|
@ -21,14 +21,6 @@ jobs:
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
|
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
|
||||||
|
|
||||||
- name: Fetch all history for all tags and branches
|
|
||||||
run: |
|
|
||||||
if [ -f "$(git rev-parse --git-dir)/shallow" ]; then
|
|
||||||
git fetch --prune --unshallow
|
|
||||||
else
|
|
||||||
echo "Repository is already complete."
|
|
||||||
fi
|
|
||||||
|
|
||||||
- name: Setup .NET
|
- name: Setup .NET
|
||||||
uses: actions/setup-dotnet@v2
|
uses: actions/setup-dotnet@v2
|
||||||
with:
|
with:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue