Skip to content

Commit

Permalink
fix refs and install dir
Browse files Browse the repository at this point in the history
  • Loading branch information
McCallisterRomer committed May 30, 2024
1 parent 0c8f50b commit 8eb88af
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,12 @@ jobs:
- name: Set up SDK path
shell: bash
run: |
ROOT_PATH='${{ github.workspace }}'
echo "SDK_PATH=${ROOT_PATH//\\//}/VulkanSDK/${{ matrix.sdkTag }}" >> $GITHUB_ENV
SDK_VERSION=$(echo "${{ matrix.sdkTag }}" | sed -E 's/[^0-9]*([0-9]+\.[0-9]+\.[0-9]+(\.[0-9]+)?).*/\1/')
echo "ARTIFACT_NAME=vulkanCI-$SDK_VERSION-${{ matrix.os }}-x64" >> $GITHUB_ENV
ROOT_PATH='${{ github.workspace }}'
echo "SDK_PATH=${ROOT_PATH//\\//}/VulkanSDK/$SDK_VERSION" >> $GITHUB_ENV
- name: Checkout Vulkan-Headers
uses: actions/checkout@v4
with:
Expand All @@ -61,7 +61,7 @@ jobs:
uses: actions/checkout@v4
with:
repository: KhronosGroup/Vulkan-Loader
ref: '${{ inputs.sdkTag }}'
ref: '${{ matrix.sdkTag }}'
path: 'Vulkan-Loader'

- name: Build Vulkan-Loader
Expand All @@ -75,7 +75,7 @@ jobs:
uses: actions/checkout@v4
with:
repository: KhronosGroup/Vulkan-ValidationLayers
ref: '${{ inputs.sdkTag }}'
ref: '${{ matrix.sdkTag }}'
path: 'Vulkan-ValidationLayers'

- name: Build Vulkan-ValidationLayers
Expand Down

0 comments on commit 8eb88af

Please sign in to comment.