Skip to content

[CodeStyle][Typos][E-[11-20]] Fix typos(enfore, entrys, `envirnme… #174

[CodeStyle][Typos][E-[11-20]] Fix typos(enfore, entrys, `envirnme…

[CodeStyle][Typos][E-[11-20]] Fix typos(enfore, entrys, `envirnme… #174

Workflow file for this run

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}