File tree Expand file tree Collapse file tree 2 files changed +31
-6
lines changed Expand file tree Collapse file tree 2 files changed +31
-6
lines changed Original file line number Diff line number Diff line change 1111 permissions :
1212 contents : write
1313 steps :
14+ - name : Create PR
15+ uses : huacnlee/zed-extension-action@v1
16+ with :
17+ extension-name : min-theme
18+ push-to : phibr0/extensions
19+ env :
20+ COMMITTER_TOKEN : ${{ secrets.COMMITTER_TOKEN }}
21+
1422 - uses : actions/checkout@v4
1523 with :
1624 fetch-depth : 0
@@ -20,10 +28,27 @@ jobs:
2028
2129 - run : bun merge.js
2230
23- - name : Create PR
24- uses : huacnlee/zed-extension-action@v1
31+ - name : Get Version
32+ id : version
33+ run : echo "tag=$(git describe --tags --abbrev=0)" >> $GITHUB_OUTPUT
34+
35+ - name : Create Release
36+ id : create_release
37+ uses : actions/create-release@v1
38+ env :
39+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
2540 with :
26- extension-name : min-theme
27- push-to : phibr0/extensions
41+ tag_name : ${{ github.ref_name }}
42+ release_name : Release ${{ github.ref_name }}
43+ draft : false
44+ prerelease : false
45+
46+ - name : Upload Theme File
47+ uses : actions/upload-release-asset@v1
2848 env :
29- COMMITTER_TOKEN : ${{ secrets.COMMITTER_TOKEN }}
49+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
50+ with :
51+ upload_url : ${{ steps.create_release.outputs.upload_url }}
52+ asset_path : ./min-theme.json
53+ asset_name : min-theme.json
54+ asset_content_type : application/json
Original file line number Diff line number Diff line change 11id = " min-theme"
22name = " Min Theme"
3- version = " 0.1.6 "
3+ version = " 0.1.8 "
44schema_version = 1
55authors = [
" Phillip Bronzel <[email protected] >" ]
66description = " A port of miguelsolorio's Min Theme for Zed."
You can’t perform that action at this time.
0 commit comments