File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 5353 git config --global user.name "github-actions[bot]"
5454 git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
5555
56- git clone --branch=version https://${{ github.repository_owner }}:${{ github.token }}@github.com/${{ github.repository }} version
56+ git clone --branch=version --depth=1 https://${{ github.repository_owner }}:${{ github.token }}@github.com/${{ github.repository }} version
5757 cd version
5858
5959 # Read and increment version name
@@ -121,7 +121,7 @@ jobs:
121121 git config --global user.name "github-actions[bot]"
122122 git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
123123
124- git clone --branch=apk https://${{ github.repository_owner }}:${{ github.token }}@github.com/${{ github.repository }} apk
124+ git clone --branch=apk --depth=1 https://${{ github.repository_owner }}:${{ github.token }}@github.com/${{ github.repository }} apk
125125 cd apk
126126
127127 if [[ ${{ github.ref_name }} =~ ^(master)$ ]]; then
@@ -149,7 +149,7 @@ jobs:
149149 - name : Update app in Open Testing track
150150 if : ${{ github.repository == 'fossasia/pslab-android' }}
151151 run : |
152- git clone --branch=fastlane https://${{ github.repository_owner }}:${{ github.token }}@github.com/${{ github.repository }} fastlane
152+ git clone --branch=fastlane --depth=1 https://${{ github.repository_owner }}:${{ github.token }}@github.com/${{ github.repository }} fastlane
153153 bundle exec fastlane uploadToOpenTesting
154154 if [[ $? -ne 0 ]]; then
155155 exit 1
You can’t perform that action at this time.
0 commit comments