Skip to content

Commit 2613edf

Browse files
committed
ci
1 parent b6326c5 commit 2613edf

File tree

1 file changed

+9
-11
lines changed

1 file changed

+9
-11
lines changed

.github/workflows/release.yml

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -36,17 +36,15 @@ jobs:
3636
env:
3737
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
3838

39-
- uses: ilammy/msvc-dev-cmd@v1
40-
- name: Install vcpkg dependencies
41-
run: |
42-
vcpkg install
43-
vcpkg integrate install
44-
working-directory: .
45-
env:
46-
VCPKG_ROOT: C:\vcpkg
47-
# - name: Build installer MSIX
48-
# run: msbuild Octos.vcxproj /t:BundleAppx /p:AppVersion=$env:VERSION.0
49-
- name: Build installer EXE
39+
- name: Setup MSBuild env
40+
uses: microsoft/setup-msbuild@v2
41+
- name: Install dependencies or restore cache
42+
uses: lukka/run-vcpkg@v11
43+
with:
44+
doNotCache: true
45+
- name: Integrate vcpkg
46+
run: vcpkg integrate install
47+
- name: Build
5048
run: msbuild Octos.vcxproj /t:InnoSetup /p:AppVersion=$env:VERSION.0
5149

5250
- name: Release

0 commit comments

Comments
 (0)