Skip to content

Commit d60ae66

Browse files
committed
Separate out dxt file steps as different job
1 parent 2d9a2f7 commit d60ae66

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/publish.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,23 @@ jobs:
2020
run: npm publish
2121
env:
2222
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
23+
permissions:
24+
contents: read
25+
id-token: write
26+
27+
create-dxt-release:
28+
needs: publish-to-npm
29+
runs-on: ubuntu-latest
30+
steps:
31+
- uses: actions/checkout@v4
32+
- uses: actions/setup-node@v4
33+
with:
34+
node-version: 20.19.0
35+
cache: npm
36+
- name: Install dependencies and build 🔧
37+
run: |
38+
npm ci
39+
npm run build || (echo "Build failed" && exit 1)
2340
- name: Install Anthropic DXT CLI
2441
run: npm install -g @anthropic-ai/dxt
2542
- name: Create DXT file

0 commit comments

Comments
 (0)