From 11f19dd1acc23c97b8d3f5f0678861083a0181de Mon Sep 17 00:00:00 2001 From: Mladen Jablanovic Date: Wed, 20 Dec 2023 13:11:56 +0100 Subject: [PATCH] build: Clone whole history when pushing PHP and Java clients --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 433309eb..0a298721 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -182,7 +182,7 @@ jobs: run: | npm install npm run generate.java - git clone --depth 1 https://$API_TOKEN_GITHUB@github.com/phrase/phrase-java.git clones/java &> /dev/null + git clone https://$API_TOKEN_GITHUB@github.com/phrase/phrase-java.git clones/java &> /dev/null rsync -avI --delete --exclude='.git/' clients/java/ clones/java cd clones/java git status --verbose @@ -213,7 +213,7 @@ jobs: run: | npm install npm run generate.php - git clone --depth 1 https://$API_TOKEN_GITHUB@github.com/phrase/phrase-php.git clones/php &> /dev/null + git clone https://$API_TOKEN_GITHUB@github.com/phrase/phrase-php.git clones/php &> /dev/null rsync -avI --delete --exclude='.git/' clients/php/ clones/php cd clones/php git status --verbose