Skip to content

Commit

Permalink
Use depth for Tools clones in the workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
RobDangerous committed Oct 6, 2023
1 parent e42e76b commit f23d743
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/freebsd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Get Submodules
run: git submodule update --init --recursive
- name: Get KincTools_freebsd_x64
run: git clone https://github.com/Kode/KincTools_freebsd_x64.git
run: git clone https://github.com/Kode/KincTools_freebsd_x64.git --depth 1
- name: Compile in FreeBSD VM
env:
ROBBOT_PASS: ${{ secrets.ROBBOT_PASS }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ jobs:
shell: alpine.sh --root {0}

- name: Get KincTools_linux_arm64
run: git clone https://github.com/Kode/KincTools_linux_arm64.git
run: git clone https://github.com/Kode/KincTools_linux_arm64.git --depth 1
- name: Copy binary
run: cp /home/runner/work/Kongruent/Kongruent/build/Release/kongruent KincTools_linux_arm64/kongruent
- name: Set name
Expand Down Expand Up @@ -162,7 +162,7 @@ jobs:
shell: alpine.sh --root {0}

- name: Get KincTools_linux_arm
run: git clone https://github.com/Kode/KincTools_linux_arm.git
run: git clone https://github.com/Kode/KincTools_linux_arm.git --depth 1
- name: Copy binary
run: cp /home/runner/work/Kongruent/Kongruent/build/Release/kongruent KincTools_linux_arm/kongruent
- name: Set name
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Get Submodules
run: git submodule update --init --recursive
- name: Get KincTools_macos
run: git clone https://github.com/Kode/KincTools_macos.git
run: git clone https://github.com/Kode/KincTools_macos.git --depth 1
- name: Compile
run: ./KincTools_macos/kmake --compile
- name: Copy binary
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Get Submodules
run: git submodule update --init --recursive
- name: Get KincTools_windows_x64
run: git clone https://github.com/Kode/KincTools_windows_x64.git
run: git clone https://github.com/Kode/KincTools_windows_x64.git --depth 1
- name: Compile
run: KincTools_windows_x64\kmake --compile
- name: Copy binary
Expand Down

0 comments on commit f23d743

Please sign in to comment.