davisusanibar commented on code in PR #13839:
URL: https://github.com/apache/arrow/pull/13839#discussion_r942297813
##########
.github/workflows/java_nightly.yml:
##########
@@ -78,6 +103,12 @@ jobs:
cp binaries/$PREFIX/java-jars/$LIBRARY
repo/org/apache/arrow/${BASH_REMATCH[1]}/${BASH_REMATCH[2]}
echo "Artifacts $LIBRARY configured"
done
+ - name: Prune Repository
+ shell: bash
+ env:
+ KEEP: ${{ github.event.inputs.keep || 14 }}
+ run: |
+ for i in `ls -t repo/org/apache/arrow`; do; find
repo/org/apache/arrow/$i -mindepth 1 -maxdepth 1 -type d -print0 | xargs -0 ls
-t -d | tail -n +$((KEEP + 1)) | xargs rm -rf; done
- name: Show repo contents
run: tree repo
- name: Upload Files
Review Comment:
Thank you @assignUser , just added
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]