Skip to content

Commit c672915

Browse files
Align VSIX workflow with release VSIX job
1 parent 8d7bf74 commit c672915

File tree

2 files changed

+5
-9
lines changed

2 files changed

+5
-9
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,11 @@ jobs:
5858
((Get-Content -Path VSIX/ApiClientCodeGen.VSIX.Dev17/source.extension.vsixmanifest -Raw) -Replace "1.0.0", "${{ env.VERSION }}") | Set-Content -Path VSIX/ApiClientCodeGen.VSIX.Dev17/source.extension.vsixmanifest
5959
working-directory: src
6060
shell: pwsh
61-
- name: Restore
62-
run: dotnet restore VSIX.sln
63-
working-directory: src
6461
- name: Setup MSBuild.exe
6562
uses: microsoft/setup-msbuild@v2
63+
- name: Restore
64+
run: msbuild VSIX.sln -t:Restore
65+
working-directory: src
6666
- name: Build
6767
run: msbuild VSIX.sln /property:Configuration=Release /p:DeployExtension=false
6868
working-directory: src

.github/workflows/vsix.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,8 @@ jobs:
4242
run: msbuild VSIX.sln -t:Restore
4343
working-directory: src
4444

45-
- name: Build VS 2022 Extension
46-
run: msbuild VSIX/ApiClientCodeGen.VSIX.Dev17/ApiClientCodeGen.VSIX.Dev17.csproj /property:Configuration=Release /p:DeployExtension=false
47-
working-directory: src
48-
49-
- name: Build VS 2019 Extension
50-
run: msbuild VSIX/ApiClientCodeGen.VSIX/ApiClientCodeGen.VSIX.csproj /property:Configuration=Release /p:DeployExtension=false
45+
- name: Build
46+
run: msbuild VSIX.sln /property:Configuration=Release /p:DeployExtension=false
5147
working-directory: src
5248

5349
- name: Move build output

0 commit comments

Comments
 (0)