Skip to content

Commit 0ba0d3b

Browse files
committed
fix cleanup
1 parent fa32e30 commit 0ba0d3b

5 files changed

Lines changed: 5 additions & 8 deletions

File tree

.github/workflows/_910B-ARM.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,11 +83,11 @@ jobs:
8383
-v ${{ github.workspace }}/../../..:${{ github.workspace }}/../../.. \
8484
-v ${{ github.workspace }}:/PaddleCustomDevice -w /PaddleCustomDevice \
8585
${docker_image} /bin/bash
86-
docker exec -t ${{ env.container_name }} /bin/bash -c 'rm -rf /PaddleCustomDevice/* /PaddleCustomDevice/.[^.]* 2>/dev/null || true'
8786
8887
- name: Download Code
8988
run: |
9089
docker exec -t ${{ env.container_name }} /bin/bash -c '
90+
rm -rf /PaddleCustomDevice/* /PaddleCustomDevice/.[^.]* 2>/dev/null || true
9191
source ${{ github.workspace }}/../../../proxy
9292
set -x
9393
wget -q --tries=5 --no-proxy https://paddle-github-action.bj.bcebos.com/PaddleCustomDevice/PR/${PR_ID}/${COMMIT_ID}/PaddleCustomDevice.tar.gz --no-check-certificate

.github/workflows/_910B-X86.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,11 +82,11 @@ jobs:
8282
-v ${{ github.workspace }}/../../..:${{ github.workspace }}/../../.. \
8383
-v ${{ github.workspace }}:/PaddleCustomDevice -w /PaddleCustomDevice \
8484
${docker_image} /bin/bash
85-
docker exec -t ${{ env.container_name }} /bin/bash -c 'rm -rf /PaddleCustomDevice/* /PaddleCustomDevice/.[^.]* 2>/dev/null || true'
8685
8786
- name: Download Code
8887
run: |
8988
docker exec -t ${{ env.container_name }} /bin/bash -c '
89+
rm -rf /PaddleCustomDevice/* /PaddleCustomDevice/.[^.]* 2>/dev/null || true
9090
source ${{ github.workspace }}/../../../proxy
9191
set -x
9292
wget -q --tries=5 --no-proxy https://paddle-github-action.bj.bcebos.com/PaddleCustomDevice/PR/${PR_ID}/${COMMIT_ID}/PaddleCustomDevice.tar.gz --no-check-certificate

.github/workflows/_HPU.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,12 +62,11 @@ jobs:
6262
-v ${{ github.workspace }}/../../..:${{ github.workspace }}/../../.. \
6363
-v ${{ github.workspace }}:/workspace -w /workspace \
6464
${docker_image} /bin/bash
65-
docker exec -t ${{ env.container_name }} /bin/bash -c 'rm -rf /workspace/* /workspace/.[^.]* 2>/dev/null || true'
6665
6766
- name: Download Code
6867
run: |
6968
docker exec -t ${{ env.container_name }} /bin/bash -c '
70-
rm -rf * .[^.]*
69+
rm -rf /workspace/* /workspace/.[^.]* 2>/dev/null || true
7170
source ${{ github.workspace }}/../../../proxy
7271
set -x
7372
wget -q --tries=5 --no-proxy https://paddle-github-action.bj.bcebos.com/PaddleCustomDevice/PR/${PR_ID}/${COMMIT_ID}/PaddleCustomDevice.tar.gz --no-check-certificate

.github/workflows/_IXUCA.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,10 @@ jobs:
5555
-v ${{ github.workspace }}:/workspace -w /workspace \
5656
${docker_image} /bin/bash
5757
58-
docker exec -t ${{ env.container_name }} /bin/bash -c 'rm -rf /workspace/* /workspace/.[^.]* 2>/dev/null || true'
59-
6058
- name: Download Code
6159
run: |
6260
docker exec -t ${{ env.container_name }} /bin/bash -c '
61+
rm -rf /workspace/* /workspace/.[^.]* 2>/dev/null || true
6362
source ${{ github.workspace }}/../../../proxy
6463
set -x
6564
wget -q --tries=5 --no-proxy https://paddle-github-action.bj.bcebos.com/PaddleCustomDevice/PR/${PR_ID}/${COMMIT_ID}/PaddleCustomDevice.tar.gz --no-check-certificate

.github/workflows/_MLU.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,12 @@ jobs:
6363
-v ${{ github.workspace }}/../../..:${{ github.workspace }}/../../.. \
6464
-v ${{ github.workspace }}:/PaddleCustomDevice -w /PaddleCustomDevice \
6565
${docker_image} /bin/bash
66-
docker exec -t ${{ env.container_name }} /bin/bash -c 'rm -rf /PaddleCustomDevice/* /PaddleCustomDevice/.[^.]* 2>/dev/null || true'
6766
6867
- name: Download Code
6968
run: |
7069
docker exec -t ${{ env.container_name }} /bin/bash -c '
70+
rm -rf /PaddleCustomDevice/* /PaddleCustomDevice/.[^.]* 2>/dev/null || true
7171
source ${{ github.workspace }}/../../../proxy
72-
rm -rf * .[^.]*
7372
wget -q --tries=5 --no-proxy https://paddle-github-action.bj.bcebos.com/PaddleCustomDevice/PR/${PR_ID}/${COMMIT_ID}/PaddleCustomDevice.tar.gz --no-check-certificate
7473
echo "Extracting PaddleCustomDevice.tar.gz"
7574
tar -xf PaddleCustomDevice.tar.gz --strip-components=1

0 commit comments

Comments
 (0)