Skip to content

Work around long plugin installation #4

Work around long plugin installation

Work around long plugin installation #4

name: build-translation
on:
workflow_dispatch:
pull_request:
paths:
- "**.xlf"
jobs:
build-translation:
runs-on: windows-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
# Thank you! https://github.com/actions/runner-images/issues/7389#issuecomment-1498132993
- name: Download vsix
run: curl -o mat.vsix https://marketplace.visualstudio.com/_apis/public/gallery/publishers/dts-publisher/vsextensions/mat2022/4.2.1/vspackage
- name: Install vsix
run: |
$FilePath = Join-Path $env:GITHUB_WORKSPACE "mat.vsix"
$ArgumentList = ('/quiet', $FilePath)
$VSpath = "Microsoft Visual Studio\2022\Enterprise\Common7\IDE\VSIXInstaller.exe"
$process = Start-Process -FilePath $VSpath -WorkingDirectory $env:ProgramFiles -ArgumentList $ArgumentList -Wait -PassThru