diff options
| author | Dax Raad <[email protected]> | 2025-08-03 03:53:26 -0400 |
|---|---|---|
| committer | Dax Raad <[email protected]> | 2025-08-03 03:53:31 -0400 |
| commit | c5e9dc081c2af63da3d4a215a631f72157af463f (patch) | |
| tree | 6d280cdc3bb1549d4d56dbd82eded6fc59bc8da8 /.github/workflows | |
| parent | 49c8889228e73a9dc87f664c7a2cd68e1274bc27 (diff) | |
| download | opencode-c5e9dc081c2af63da3d4a215a631f72157af463f.tar.gz opencode-c5e9dc081c2af63da3d4a215a631f72157af463f.zip | |
ci: bun cache
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/publish.yml | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 957f98ad6..97b943c95 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -39,6 +39,15 @@ jobs: with: bun-version: 1.2.19 + - name: Cache ~/.bun + id: cache-bun + uses: actions/cache@v3 + with: + path: ~/.bun + key: ${{ runner.os }}-bun-${{ hashFiles('bun.lock') }} + restore-keys: | + ${{ runner.os }}-bun- + - name: Install makepkg run: | sudo apt-get update @@ -53,9 +62,11 @@ jobs: git config --global user.email "[email protected]" git config --global user.name "opencode" + - name: Install dependencies + run: bun install + - name: Publish run: | - bun install OPENCODE_VERSION=${{ inputs.version }} ./script/publish.ts env: GITHUB_TOKEN: ${{ secrets.SST_GITHUB_TOKEN }} |
