-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: add release plugin pipeline into zed registry
- Loading branch information
1 parent
d130a31
commit ff77014
Showing
3 changed files
with
67 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: Release Plugin into Zed Store | ||
|
||
on: | ||
# Defining workflow_call means that this workflow can be called from | ||
# your main workflow job | ||
workflow_call: | ||
# cargo-dist exposes the plan from the plan step, as a JSON string, | ||
# to your job if it needs it | ||
inputs: | ||
plan: | ||
required: true | ||
type: string | ||
|
||
jobs: | ||
publish-extension: | ||
name: Release Zed Extension | ||
runs-on: ubuntu-latest | ||
if: ${{ inputs.plan && fromJson(inputs.plan).announcement_is_prerelease != false }} | ||
steps: | ||
- uses: huacnlee/zed-extension-action@v1 | ||
with: | ||
extension-name: dotenv-zed | ||
push-to: RustLangES/zed-extensions | ||
env: | ||
# the personal access token should have "repo" & "workflow" scopes | ||
COMMITTER_TOKEN: ${{ secrets.ZED_PLUGIN_COMMITTER_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters