@@ -71,33 +71,21 @@ jobs:
7171 write-mode : overwrite
7272 contents : ${{ needs.release_metadata.outputs.changelog }}
7373
74- - name : Commit changes
75- id : commit
76- uses : EndBug/add-and-commit@v9
77- with :
78- author_name : Apify Release Bot
79- 80- message : " chore(release): Update changelog and package version [skip ci]"
74+ # TEMP
75+ # - name: Commit changes
76+ # id: commit
77+ # uses: EndBug/add-and-commit@v9
78+ # with:
79+ # author_name: Apify Release Bot
80+ 81+ # message: "chore(release): Update changelog and package version [skip ci]"
8182
8283 create_github_release :
8384 name : Create github release
8485 needs : [release_metadata, update_changelog]
8586 runs-on : ubuntu-latest
8687 env :
8788 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
88- steps :
89- - name : Create release
90- uses : softprops/action-gh-release@v2
91- with :
92- tag_name : ${{ needs.release_metadata.outputs.tag_name }}
93- name : ${{ needs.release_metadata.outputs.version_number }}
94- target_commitish : ${{ needs.update_changelog.outputs.changelog_commitish }}
95- body : ${{ needs.release_metadata.outputs.release_notes }}
96-
97- publish_to_npm :
98- name : Publish to NPM
99- needs : [ update_changelog ]
100- runs-on : ubuntu-latest
10189 steps :
10290 - uses : actions/checkout@v4
10391 with :
@@ -115,8 +103,50 @@ jobs:
115103 npm ci
116104 - name : Build module
117105 run : npm run build
118- - name : Publish to NPM
119- run : npm publish --tag latest
106+ - name : Prepare DXT package
107+ run : |
108+ mkdir dxt
109+ cp -r node_modules dxt/node_modules
110+ cp -r dist dxt/dist
111+ cp -r docs dxt/docs
112+ cp package.json dxt/package.json
113+ cp manifest.json dxt/manifest.json
114+ - name : Create DXT package
115+ run : npx -y @anthropic-ai/dxt pack dxt/ actors-mcp-server.dxt
116+ - name : Create release
117+ uses : softprops/action-gh-release@v2
118+ with :
119+ tag_name : ${{ needs.release_metadata.outputs.tag_name }}
120+ name : ${{ needs.release_metadata.outputs.version_number }}
121+ target_commitish : ${{ needs.update_changelog.outputs.changelog_commitish }}
122+ body : ${{ needs.release_metadata.outputs.release_notes }}
123+ files : |
124+ actors-mcp-server.dxt
125+
126+ # TEMP
127+ # publish_to_npm:
128+ # name: Publish to NPM
129+ # needs: [ update_changelog ]
130+ # runs-on: ubuntu-latest
131+ # steps:
132+ # - uses: actions/checkout@v4
133+ # with:
134+ # ref: ${{ needs.update_changelog.changelog_commitish }}
135+ # - name: Use Node.js 22
136+ # uses: actions/setup-node@v4
137+ # with:
138+ # node-version: 22
139+ # cache: 'npm'
140+ # cache-dependency-path: 'package-lock.json'
141+ # - name: Install dependencies
142+ # run: |
143+ # echo "access=public" >> .npmrc
144+ # echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" >> .npmrc
145+ # npm ci
146+ # - name: Build module
147+ # run: npm run build
148+ # - name: Publish to NPM
149+ # run: npm publish --tag latest
120150
121151env :
122152 NODE_AUTH_TOKEN : ${{ secrets.APIFY_SERVICE_ACCOUNT_NPM_TOKEN }}
0 commit comments