Skip to content

Commit 80709cb

Browse files
committed
Try build
1 parent 107b32b commit 80709cb

File tree

2 files changed

+5
-18
lines changed

2 files changed

+5
-18
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ on:
66
pull_request:
77
branches: [ "master" ]
88

9+
env:
10+
Solution_Name: Server\shader-ls.sln
11+
Test_Project_Path: Server\shader-ls.csproj
12+
913
jobs:
1014

1115
build:
@@ -15,9 +19,6 @@ jobs:
1519
configuration: [Debug, Release]
1620

1721
runs-on: windows-latest
18-
env:
19-
Solution_Name: Server\shader-ls.sln
20-
Test_Project_Path: Server\shader-ls.csproj
2122

2223
steps:
2324
- uses: actions/checkout@v3
@@ -39,17 +40,3 @@ jobs:
3940
run: msbuild $env:Solution_Name /t:Restore /p:Configuration=$env:Configuration
4041
env:
4142
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 }}
51-
env:
52-
Appx_Bundle: Always
53-
Appx_Bundle_Platforms: x86|x64
54-
Appx_Package_Build_Mode: StoreUpload
55-
Configuration: ${{ matrix.configuration }}

Server/Buffer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using OmniSharp.Extensions.LanguageServer.Protocol.Models;
22
using ShaderlabVS;
3-
3+
x
44
namespace ShaderLS
55
{
66
public class Buffer

0 commit comments

Comments
 (0)