chore(actions): git clone should be from the specific tag for submodule
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
This commit is contained in:
parent
b91762cb09
commit
62d3636136
1 changed files with 3 additions and 0 deletions
3
.github/workflows/patch-build.yaml
vendored
3
.github/workflows/patch-build.yaml
vendored
|
|
@ -83,6 +83,9 @@ jobs:
|
||||||
[ -d $MSAAS_REPO_FOLDER ] || {
|
[ -d $MSAAS_REPO_FOLDER ] || {
|
||||||
git clone -b dev --recursive https://x-access-token:$MSAAS_REPO_CLONE_TOKEN@$MSAAS_REPO_URL $MSAAS_REPO_FOLDER
|
git clone -b dev --recursive https://x-access-token:$MSAAS_REPO_CLONE_TOKEN@$MSAAS_REPO_URL $MSAAS_REPO_FOLDER
|
||||||
cd $MSAAS_REPO_FOLDER
|
cd $MSAAS_REPO_FOLDER
|
||||||
|
cd openreplay && git fetch origin && git checkout main # This have to be changed to specific tag
|
||||||
|
git log -1
|
||||||
|
cd $MSAAS_REPO_FOLDER
|
||||||
bash git-init.sh
|
bash git-init.sh
|
||||||
git checkout
|
git checkout
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue