File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -26,15 +26,20 @@ jobs:
2626 uses : actions/setup-dotnet@v4
2727 with :
2828 dotnet-version : 9.0.x
29- - name : Build-General
30- if : matrix.target != 'linux-musl -x64'
29+ - name : Build-Win And Linux
30+ if : matrix.target == 'linux-x64' || matrix.target == 'win -x64'
3131 run : dotnet publish EmmyLua.LanguageServer -r ${{ matrix.target }} -c Release -o ${{ github.workspace }}/artifact/ --sc /p:DebugType=None
3232 # enable for donet9 support
3333 - name : Build-Linux-Arm64
3434 if : matrix.target == 'linux-musl-x64'
3535 run : |
3636 dotnet tool install --global dotnet-cross
3737 dotnet cross publish EmmyLua.LanguageServer -r linux-musl-x64 -c Release -o ${{ github.workspace }}/artifact/ --sc /p:DebugType=None
38+ - name : Build-Maxos
39+ if : matrix.target == 'osx-arm64' || matrix.target == 'osx-x64'
40+ run : |
41+ dotnet publish EmmyLua.LanguageServer -r osx-arm64 -c Release -o ${{ github.workspace }}/artifact/ --sc /p:DebugType=None
42+ rm -rf ${{ github.workspace }}/artifact/EmmyLua.LanguageServer-${{ matrix.platform }}/EmmyLua.LanguageServer.dSYM
3843 - name : Upload
3944 uses : actions/upload-artifact@v3
4045 with :
You can’t perform that action at this time.
0 commit comments