ci: Specify fetch-depth instead of unshallow

This commit is contained in:
Matt Borgerson 2021-05-20 00:54:56 -07:00 committed by mborgerson
parent 60a7afb94b
commit 1c9a0217e1
1 changed files with 8 additions and 12 deletions

View File

@ -34,9 +34,8 @@ jobs:
steps:
- name: Clone Tree
uses: actions/checkout@v2
- name: Clone Tree (Unshallow)
run: |
git fetch --prune --unshallow --tags -f
with:
fetch-depth: 0
- name: Install Dependencies
run: |
echo "Downloading MSYS2 environment..."
@ -87,9 +86,8 @@ jobs:
steps:
- name: Clone Tree
uses: actions/checkout@v2
- name: Clone Tree (Unshallow)
run: |
git fetch --prune --unshallow --tags -f
with:
fetch-depth: 0
- name: Install Dependencies
run: |
sudo apt-get update
@ -139,9 +137,8 @@ jobs:
steps:
- name: Clone Tree
uses: actions/checkout@v2
- name: Clone Tree (Unshallow)
run: |
git fetch --prune --unshallow --tags -f
with:
fetch-depth: 0
- name: Install Dependencies
run: |
export HOMEBREW_NO_AUTO_UPDATE=1
@ -267,9 +264,8 @@ jobs:
steps:
- name: Clone Tree
uses: actions/checkout@v2
- name: Clone Tree (Unshallow)
run: |
git fetch --prune --unshallow --tags -f
with:
fetch-depth: 0
- name: Create Source Archive
run: |
./scripts/archive-source.sh archive.tgz