Browse Source

ci: limit git fetch depth to 1

Fetching failed because the remote changed in a submodule:
fatal: remote error: upload-pack: not our ref 391786c6c3abdd3eeb993a3154f1f2a4cfe137a0
Errors during submodule fetch:
	libs/cpp/parse/nlohmann_json
QGC4.4
Beat Küng 1 year ago committed by Don Gagne
parent
commit
2ed383cec9
  1. 2
      .github/workflows/android_release.yml
  2. 2
      .github/workflows/linux_release.yml
  3. 2
      .github/workflows/macos_release.yml
  4. 2
      .github/workflows/windows_release.yml

2
.github/workflows/android_release.yml

@ -44,7 +44,7 @@ jobs: @@ -44,7 +44,7 @@ jobs:
- name: Get all tags for correct version determination
working-directory: ${{ github.workspace }}
run: |
git fetch --all --tags -f
git fetch --all --tags -f --depth 1
- name: Install Qt
uses: jurplel/install-qt-action@v3

2
.github/workflows/linux_release.yml

@ -34,7 +34,7 @@ jobs: @@ -34,7 +34,7 @@ jobs:
- name: Get all tags for correct version determination
working-directory: ${{ github.workspace }}
run: |
git fetch --all --tags -f
git fetch --all --tags -f --depth 1
- name: Install Qt
uses: jurplel/install-qt-action@v3

2
.github/workflows/macos_release.yml

@ -34,7 +34,7 @@ jobs: @@ -34,7 +34,7 @@ jobs:
- name: Get all tags for correct version determination
working-directory: ${{ github.workspace }}
run: |
git fetch --all --tags -f
git fetch --all --tags -f --depth 1
- name: Install Qt
uses: jurplel/install-qt-action@v3

2
.github/workflows/windows_release.yml

@ -34,7 +34,7 @@ jobs: @@ -34,7 +34,7 @@ jobs:
- name: Get all tags for correct version determination
working-directory: ${{ github.workspace }}
run: |
git fetch --all --tags -f
git fetch --all --tags -f --depth 1
- name: Install Qt
uses: jurplel/install-qt-action@v3

Loading…
Cancel
Save