Skip to content

Commit 66f1d3e

Browse files
committed
add clean cache step
1 parent 8516b9a commit 66f1d3e

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/test-oblogproxy-ce.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ jobs:
2727
build-oblogproxy-ce:
2828
runs-on: ubuntu-latest
2929
steps:
30+
- name: Clean tool cache
31+
run: sudo rm -rf "$AGENT_TOOLSDIRECTORY"
32+
3033
- name: Print environment variables
3134
run: printenv
3235

@@ -50,9 +53,7 @@ jobs:
5053
tags: oblogproxy-ce
5154

5255
- name: Export Docker image
53-
run: |
54-
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
55-
docker save -o oblogproxy-ce.tar oblogproxy-ce
56+
run: docker save -o oblogproxy-ce.tar oblogproxy-ce
5657

5758
- name: Upload artifact
5859
uses: actions/upload-artifact@v4
@@ -64,6 +65,9 @@ jobs:
6465
runs-on: ubuntu-latest
6566
needs: [ build-oceanbase-ce, build-oblogproxy-ce ]
6667
steps:
68+
- name: Clean tool cache
69+
run: sudo rm -rf "$AGENT_TOOLSDIRECTORY"
70+
6771
- name: Download artifact
6872
uses: actions/download-artifact@v4
6973
with:

0 commit comments

Comments
 (0)