File tree Expand file tree Collapse file tree 6 files changed +15
-10
lines changed Expand file tree Collapse file tree 6 files changed +15
-10
lines changed Original file line number Diff line number Diff line change @@ -11,15 +11,16 @@ jobs:
1111 upload_url : ${{ steps.create_release.outputs.upload_url }}
1212 steps :
1313 - name : Get tag
14- run : echo "VERSION=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_ENV
14+ id : tag
15+ run : echo "::set-output name=version::${GITHUB_REF/refs\/tags\//}"
1516 - name : Create Release
1617 id : create_release
1718 uses : actions/create-release@v1
1819 env :
1920 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
2021 with :
21- tag_name : $VERSION
22- release_name : Release $VERSION
22+ tag_name : ${{ steps.tag.outputs.version }}
23+ release_name : Release ${{ steps.tag.outputs.version }}
2324 draft : false
2425 prerelease : false
2526 release-server :
4647 env :
4748 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
4849 with :
49- upload_url : ${{ steps.create_release .outputs.upload_url }}
50+ upload_url : ${{ needs.empty-release .outputs.upload_url }}
5051 asset_path : target/release/mcshader-lsp
5152 asset_name : mcshader-lsp-${{ matrix.platforms.target }}
5253 asset_content_type : application/octet-stream
5657 steps :
5758 - uses : actions/checkout@v2
5859 - run : npm i
59- - run : npm i -g rollup
6060 - uses : HaaLeo/publish-vscode-extension@v0
6161 id : vsce_release
6262 with :
Original file line number Diff line number Diff line change 77 "request" : " launch" ,
88 "name" : " Launch Client" ,
99 "runtimeExecutable" : " ${execPath}" ,
10+ "env" : {
11+ "MCSHADER_DEBUG" : " true"
12+ },
1013 "args" : [" --extensionDevelopmentPath=${workspaceRoot}" ],
1114 "outFiles" : [" ${workspaceRoot}/client/out/**/*.js" ],
1215 "preLaunchTask" : {
Original file line number Diff line number Diff line change @@ -43,6 +43,7 @@ Please see [CONTRIBUTING.md](https://github.com/Strum355/mcshader-lsp/blob/maste
4343- Multi-workspaces (currently only one is supported and using multiple is very undefined behaviour)
4444- Warnings for unused uniforms/varyings
4545- Lint for all #define value combinations
46+ - Compute shader support
4647- Some cool ` DRAWBUFFERS ` stuff
4748
4849Got a feature request? Chuck it into an Issue!
Original file line number Diff line number Diff line change 11{
22 "name" : " vscode-mc-shader-client" ,
33 "scripts" : {
4- "compile" : " tsc -p ./"
4+ "compile" : " tsc -p ./" ,
5+ "rollup" : " rollup -c"
56 },
67 "dependencies" : {
78 "adm-zip" : " ^0.4.14" ,
Original file line number Diff line number Diff line change 22 "name" : " vscode-mc-shader" ,
33 "displayName" : " Minecraft GLSL Shaders" ,
44 "description" : " A Visual Studio Code extension for linting/etc Minecraft GLSL Shaders" ,
5- "version" : " 1.0.0-unreleased " ,
5+ "version" : " 0.9.0 " ,
66 "publisher" : " Strum355" ,
77 "author" : " Noah Santschi-Cooney (Strum355)" ,
88 "license" : " MIT" ,
6565 }
6666 },
6767 "scripts" : {
68- "vscode:prepublish" : " npm run compile && cd client && rollup -c " ,
68+ "vscode:prepublish" : " npm run compile && cd client && npm run rollup " ,
6969 "compile" : " tsc -b" ,
7070 "package" : " vsce package -o vscode-mc-shader.vsix" ,
71- "watch" : " concurrently \" tsc -b -w\" \" cd server && MCSHADER_DEBUG=true cargo watch -x build\" " ,
71+ "watch" : " concurrently \" tsc -b -w\" \" cd server && cargo watch -x build\" " ,
7272 "postinstall" : " cd client && npm install" ,
7373 "lint" : " eslint 'client/**/*.ts' --max-warnings 1" ,
7474 "fix" : " eslint 'client/**/*.ts' --fix"
You can’t perform that action at this time.
0 commit comments