Update action.yml

This commit is contained in:
Daniel Stankewitz 2022-07-14 09:23:30 +02:00 committed by GitHub
parent 10adcb4b30
commit 67ea676a43
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,10 +8,6 @@ inputs:
type: string type: string
required: true required: true
env:
vsPath: C:\Program Files\Microsoft Visual Studio\2022\Enterprise\
msbuildConfig: ${{ inputs.config == 'release' && 'Release' || 'Debug' }}
runs: runs:
using: "composite" using: "composite"
steps: steps:
@ -40,6 +36,9 @@ runs:
- name: Build oneVPL - name: Build oneVPL
if: steps.libvpl-cache.outputs.cache-hit != 'true' if: steps.libvpl-cache.outputs.cache-hit != 'true'
shell: cmd shell: cmd
env:
vsPath: C:\Program Files\Microsoft Visual Studio\2022\Enterprise\
msbuildConfig: ${{ inputs.config == 'release' && 'Release' || 'Debug' }}
run: | run: |
call "${{ env.vsPath }}VC\Auxiliary\Build\vcvars64.bat" call "${{ env.vsPath }}VC\Auxiliary\Build\vcvars64.bat"
md temp build dist md temp build dist