Skip to content

Commit 048105e

Browse files
committed
try rebuild
1 parent 107b32b commit 048105e

File tree

2 files changed

+9
-22
lines changed

2 files changed

+9
-22
lines changed

.github/workflows/test.yml

Lines changed: 8 additions & 21 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
@@ -35,21 +35,8 @@ jobs:
3535
working-directory: Server
3636
run: dotnet test
3737

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
5141
env:
52-
Appx_Bundle: Always
53-
Appx_Bundle_Platforms: x86|x64
54-
Appx_Package_Build_Mode: StoreUpload
5542
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)