Skip to content

Commit f1cb25c

Browse files
committed
Speed up build flow by removing git fetch
1 parent c3806d4 commit f1cb25c

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

.github/workflows/build-wolfprovider.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -151,21 +151,13 @@ jobs:
151151
uses: actions/checkout@v4
152152
with:
153153
fetch-depth: 1
154-
fetch-tags: true
155154

156155
# Avoid "detected dubious ownership" warning
157156
- name: Ensure the working directory safe
158157
if: steps.check_artifact.outcome != 'success'
159158
run: |
160159
git config --global --add safe.directory "$GITHUB_WORKSPACE"
161160
162-
# When running on a fork the upstream tags are not present, so fetch them explicitly
163-
- name: Fetch tags from upstream(for Debian versioning)
164-
if: steps.check_artifact.outcome != 'success'
165-
run: |
166-
git remote add upstream https://github.com/wolfSSL/wolfProvider.git || true
167-
git fetch upstream --tags --no-recurse-submodules
168-
169161
- name: Install wolfProvider
170162
if: steps.check_artifact.outcome != 'success'
171163
run: |

0 commit comments

Comments
 (0)