Skip to content

Commit

Permalink
Update cmake-single-platform.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
alfonsmagd authored Oct 19, 2024
1 parent 5605b36 commit 81d4360
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions .github/workflows/cmake-single-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,19 +27,16 @@ jobs:
run: |
mkdir ${{github.workspace}}/dxc
- name: Install DXC (DirectX Shader Compiler)
- name: Download DXC
run: |
# Descargar el archivo ZIP de DXC
curl -LO https://github.com/microsoft/DirectXShaderCompiler/releases/download/v1.8.2407/dxc_2024_07_31.zip
tar -xf dxc_2024_07_31.zip
mv dxc_2024_07_31 ${{github.workspace}}/dxc
# Verificar que el archivo ZIP se haya descargado correctamente
if (Test-Path "dxc_2024_07_31.zip") {
# Expandir el archivo ZIP en la carpeta dxc
Expand-Archive -Path dxc_2024_07_31.zip -DestinationPath ${{github.workspace}}/dxc
} else {
Write-Error "No se pudo descargar el archivo dxc_2024_07_31.zip"
}
# Crear carpeta dxc si no existe
mkdir -p ${{github.workspace}}/dxc
# Extraer el archivo ZIP en la carpeta dxc
tar -xf dxc_2024_07_31.zip -C ${{github.workspace}}/dxc
- name: Verify DXC Directory
run: |
Expand Down

0 comments on commit 81d4360

Please sign in to comment.