Skip to content

Commit d1bfb7b

Browse files
committed
ci: remove slow and scoped bun cache from publish workflow
1 parent 0af05d5 commit d1bfb7b

1 file changed

Lines changed: 0 additions & 17 deletions

File tree

‎.github/workflows/publish.yml‎

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ jobs:
4747
container: ghcr.io/sanchuanhehe/harmony-next-pipeline-docker/harmonyos-ci-image:latest
4848
timeout-minutes: 15
4949
env:
50-
BUN_INSTALL_CACHE_DIR: ${{ github.workspace }}/.bun-cache
5150
OHPM_CACHE_DIR: ${{ github.workspace }}/.ohpm-cache
5251
steps:
5352
- uses: actions/checkout@v6
@@ -58,13 +57,6 @@ jobs:
5857
git config --global --add safe.directory "$GITHUB_WORKSPACE"
5958
git submodule foreach --recursive 'git config --global --add safe.directory "$toplevel/$sm_path"'
6059
- uses: oven-sh/setup-bun@v2
61-
- name: Cache Bun dependencies
62-
uses: actions/cache@v4
63-
with:
64-
path: .bun-cache
65-
key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lock') }}
66-
restore-keys: |
67-
${{ runner.os }}-bun-
6860
# Setup .npmrc file to publish to npm
6961
- uses: actions/setup-node@v6
7062
with:
@@ -108,8 +100,6 @@ jobs:
108100
if: needs.check_changes.outputs.harmony_changed == 'false'
109101
runs-on: ubuntu-latest
110102
timeout-minutes: 10
111-
env:
112-
BUN_INSTALL_CACHE_DIR: ${{ github.workspace }}/.bun-cache
113103
steps:
114104
- uses: actions/checkout@v6
115105
with:
@@ -119,13 +109,6 @@ jobs:
119109
git config --global --add safe.directory "$GITHUB_WORKSPACE"
120110
git submodule foreach --recursive 'git config --global --add safe.directory "$toplevel/$sm_path"'
121111
- uses: oven-sh/setup-bun@v2
122-
- name: Cache Bun dependencies
123-
uses: actions/cache@v4
124-
with:
125-
path: .bun-cache
126-
key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lock') }}
127-
restore-keys: |
128-
${{ runner.os }}-bun-
129112
# Setup .npmrc file to publish to npm
130113
- uses: actions/setup-node@v6
131114
with:

0 commit comments

Comments
 (0)