summaryrefslogtreecommitdiffhomepage
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/publish.yml13
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 }}