-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(gitlab-ci): 修正 GitLab CI 任務非必要地取出 Git 子模組
減少 GitLab CI 任務執行所需時間 Signed-off-by: 林博仁(Buo-ren Lin) <[email protected]>
- Loading branch information
Showing
1 changed file
with
5 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,12 +7,6 @@ | |
# | ||
# Copyright 2024 林博仁(Buo-ren Lin) <[email protected]> | ||
# SPDX-License-Identifier: CC-BY-SA-4.0 OR LicenseRef-Apache-2.0-If-Not-Used-In-Template-Projects | ||
variables: | ||
GIT_SUBMODULE_STRATEGY: recursive | ||
|
||
# Limit fetch depth to reduce submodule checkout time | ||
GIT_SUBMODULE_DEPTH: 1 | ||
|
||
do-static-analysis: | ||
stage: test | ||
rules: | ||
|
@@ -47,6 +41,11 @@ generate-build-artifacts: | |
script: | ||
- ./continuous-integration/generate-build-artifacts.install-system-deps.sh | ||
- ./continuous-integration/generate-build-artifacts.sh | ||
variables: | ||
GIT_SUBMODULE_STRATEGY: recursive | ||
|
||
# Limit fetch depth to reduce submodule checkout time | ||
GIT_SUBMODULE_DEPTH: 1 | ||
|
||
upload-release-assets: | ||
stage: deploy | ||
|