Skip to content

Commit 7410198

Browse files
committed
ci: 🚀 Add Zed extension publishing workflow
- Add automated publishing to GeneaLabs/extensions fork for testing - Uses huacnlee/zed-extension-action for PR creation - Configured to run after LSP server and PHAR downloads complete - Requires ZED_PUBLISHING_TOKEN with repo and workflow scopes
1 parent 5029325 commit 7410198

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

‎.github/workflows/release.yml‎

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,3 +266,17 @@ jobs:
266266
phpcs.phar.tar.gz
267267
phpcbf.phar.tar.gz
268268
token: ${{ secrets.GITHUB_TOKEN }}
269+
270+
publish:
271+
name: Publish Zed Extension
272+
runs-on: ubuntu-latest
273+
needs:
274+
- download-phars
275+
- build-lsp-server
276+
steps:
277+
- uses: huacnlee/zed-extension-action@v1
278+
with:
279+
extension-name: phpcs
280+
push-to: GeneaLabs/extensions
281+
env:
282+
COMMITTER_TOKEN: ${{ secrets.ZED_PUBLISHING_TOKEN }}

‎extension.wasm‎

5 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)