[XPU] bump XRE to 5.0.21.10 (#70471) #184
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
name: Clone | |
on: | |
push: | |
branches: [ "develop" ] | |
pull_request: | |
branches: [ "develop" ] | |
jobs: | |
Clone: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Clone paddle | |
uses: actions/checkout@v4 | |
with: | |
submodules: 'recursive' | |
- name: Cache bos client | |
id: cache_bos_client | |
uses: actions/cache@v4 | |
with: | |
path: | | |
/home/runner/work/Paddle/bos_upload.py | |
~/.cache/pip | |
key: bos_client_pip | |
- name: Download bos client | |
env: | |
WORK: "/home/runner/work/Paddle" | |
if: steps.cache_bos_client.outputs.cache-hit != 'true' | |
run: | | |
cd $WORK | |
wget -q --no-proxy -O bos_upload.py https://paddle-docker-tar.cdn.bcebos.com/bos_upload.py --no-check-certificate | |
- name: Push paddle-action.tar.gz to bos | |
env: | |
WORK: "/home/runner/work/Paddle" | |
AK: ${{ secrets.AK }} | |
SK: ${{ secrets.SK }} | |
PR_ID: ${{ github.event.pull_request.number }} | |
COMMIT_ID: ${{ github.event.pull_request.head.sha }} | |
run: | | |
git checkout -b test | |
cd $WORK | |
tar -zcf Paddle-action.tar.gz Paddle | |
python -m pip install bce-python-sdk==0.8.74 | |
python3 bos_upload.py Paddle-action.tar.gz xly-devops/PR/Paddle/${PR_ID}/${COMMIT_ID} |