File tree Expand file tree Collapse file tree 2 files changed +9
-22
lines changed Expand file tree Collapse file tree 2 files changed +9
-22
lines changed Original file line number Diff line number Diff line change 5
5
branches : [ "master" ]
6
6
pull_request :
7
7
branches : [ "master" ]
8
+ workflow_dispatch :
8
9
9
- jobs :
10
+ env :
11
+ Solution_Name : shader-ls.sln
10
12
13
+ jobs :
11
14
build :
12
-
13
15
strategy :
16
+ fail-fast : false
14
17
matrix :
15
18
configuration : [Debug, Release]
16
19
17
20
runs-on : windows-latest
18
- env :
19
- Solution_Name : Server\shader-ls.sln
20
- Test_Project_Path : Server\shader-ls.csproj
21
21
22
22
steps :
23
23
- uses : actions/checkout@v3
35
35
working-directory : Server
36
36
run : dotnet test
37
37
38
- - name : Restore the application
39
- run : msbuild $env:Solution_Name /t:Restore /p:Configuration=$env:Configuration
40
- env :
41
- Configuration : ${{ matrix.configuration }}
42
-
43
- - name : Decode the pfx
44
- run : |
45
- $pfx_cert_byte = [System.Convert]::FromBase64String("${{ secrets.Base64_Encoded_Pfx }}")
46
- $certificatePath = Join-Path -Path $env:Wap_Project_Directory -ChildPath GitHubActionsWorkflow.pfx
47
- [IO.File]::WriteAllBytes("$certificatePath", $pfx_cert_byte)
48
-
49
- - name : Create the app package
50
- run : msbuild $env:Wap_Project_Path /p:Configuration=$env:Configuration /p:UapAppxPackageBuildMode=$env:Appx_Package_Build_Mode /p:AppxBundle=$env:Appx_Bundle /p:PackageCertificateKeyFile=GitHubActionsWorkflow.pfx /p:PackageCertificatePassword=${{ secrets.Pfx_Key }}
38
+ - name : Build the application
39
+ working-directory : Server
40
+ run : msbuild $env:Solution_Name /t:Rebuild /p:Configuration=$env:Configuration
51
41
env :
52
- Appx_Bundle : Always
53
- Appx_Bundle_Platforms : x86|x64
54
- Appx_Package_Build_Mode : StoreUpload
55
42
Configuration : ${{ matrix.configuration }}
Original file line number Diff line number Diff line change 1
1
using OmniSharp . Extensions . LanguageServer . Protocol . Models ;
2
2
using ShaderlabVS ;
3
-
3
+ x
4
4
namespace ShaderLS
5
5
{
6
6
public class Buffer
You can’t perform that action at this time.
0 commit comments