Skip to content

Commit 23992f6

Browse files
committed
Update test
1 parent 107b32b commit 23992f6

File tree

2 files changed

+7
-20
lines changed

2 files changed

+7
-20
lines changed

.github/workflows/test.yml

Lines changed: 6 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,19 @@ on:
55
branches: [ "master" ]
66
pull_request:
77
branches: [ "master" ]
8+
workflow_dispatch:
89

9-
jobs:
10+
env:
11+
Solution_Name: shader-ls.sln
1012

13+
jobs:
1114
build:
12-
1315
strategy:
16+
fail-fast: false
1417
matrix:
1518
configuration: [Debug, Release]
1619

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

2222
steps:
2323
- uses: actions/checkout@v3
@@ -36,20 +36,7 @@ jobs:
3636
run: dotnet test
3737

3838
- name: Restore the application
39+
working-directory: Server
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)