Skip to content

Commit 6463015

Browse files
committed
Add Zed extension release step to dump workflow
Simplify release workflow to trigger on push tags only
1 parent e5f76b1 commit 6463015

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

.github/workflows/dump.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,3 +44,14 @@ jobs:
4444
release_name: v${{ github.event.inputs.version }}
4545
draft: false
4646
prerelease: false
47+
48+
- name: Release Zed Extension
49+
uses: huacnlee/zed-extension-action@v1
50+
with:
51+
extension-name: emmylua
52+
# extension-path: extensions/${{ extension-name }}
53+
push-to: EmmyLuaLs/zed-extensions
54+
tag: v${{ github.event.inputs.version }}
55+
env:
56+
# the personal access token should have "repo" & "workflow" scopes
57+
COMMITTER_TOKEN: ${{ secrets.RELEASE }}

.github/workflows/release.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
name: Release
22

33
on:
4-
workflow_run:
5-
workflows: ["Dump"]
6-
types:
7-
- completed
84
push:
95
tags:
106
- "v[0-9]+.[0-9]+.[0-9]+" # Push events to matching vX.Y.Z

0 commit comments

Comments
 (0)