Skip to content

Commit fbf3c53

Browse files
committed
oops
1 parent 6d219aa commit fbf3c53

File tree

3 files changed

+27
-28
lines changed

3 files changed

+27
-28
lines changed

.github/workflows/sample.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: test setup CMake
1+
name: test setup Vulkan
22

33
on:
44
pull_request:
@@ -16,4 +16,5 @@ jobs:
1616

1717
- name: check Vulkan capabilities
1818
shell: cmd
19-
run: vulkaninfo
19+
run: |
20+
echo %VULKAN_SDK%

LICENSE

Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,19 @@
1+
Copyright (c) 2024 Mateusz Maciejewski
12

2-
The MIT License (MIT)
3+
Permission is hereby granted, free of charge, to any person obtaining a copy of
4+
this software and associated documentation files (the “Software”), to deal in
5+
the Software without restriction, including without limitation the rights to
6+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
7+
of the Software, and to permit persons to whom the Software is furnished to do
8+
so, subject to the following conditions:
39

4-
Copyright (c) 2018 GitHub, Inc. and contributors
10+
The above copyright notice and this permission notice shall be included in all
11+
copies or substantial portions of the Software.
512

6-
Permission is hereby granted, free of charge, to any person obtaining a copy
7-
of this software and associated documentation files (the "Software"), to deal
8-
in the Software without restriction, including without limitation the rights
9-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10-
copies of the Software, and to permit persons to whom the Software is
11-
furnished to do so, subject to the following conditions:
12-
13-
The above copyright notice and this permission notice shall be included in
14-
all copies or substantial portions of the Software.
15-
16-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13+
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1714
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1815
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1916
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
2017
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22-
THE SOFTWARE.
18+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19+
SOFTWARE.

action.yml

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,24 +4,25 @@ description: download and unpack Vulkan for gh actions
44
runs:
55
using: composite
66
steps:
7-
- name: Setup 7-Zip
8-
uses: milliewalky/setup-7-zip@v1
7+
- name: setup 7-Zip
8+
uses: milliewalky/setup-7-zip@v2
99

1010
- name: download Vulkan
1111
shell: cmd
1212
working-directory: ${{ runner.temp }}
1313
run: curl -L -o vulkan_sdk.exe https://sdk.lunarg.com/sdk/download/1.3.275.0/windows/VulkanSDK-1.3.275.0-Installer.exe
1414

15-
- name: unpack Vulkan
15+
- name: install Vulkan
1616
shell: cmd
1717
working-directory: ${{ runner.temp }}
18-
run: |
19-
set drive=%cd:~0,2%
20-
21-
7z x vulkan_sdk.exe -aoa -o%cd%\VulkanSDK\1.3.275.0
22-
23-
set drive=
18+
run: 7z x vulkan_sdk.exe -aoa -o%cd%\VulkanSDK\1.3.275.0
2419

2520
- name: add `VULKAN_SDK` env variable to path
26-
shell: powershell
27-
run: echo "${{ runner.temp }}\VulkanSDK\1.3.275.0" | Out-File -FilePath $env:VULKAN_SDK -Encoding utf8 -Append
21+
shell: cmd
22+
run: |
23+
echo VULKAN_SDK=${{ runner.temp }}\VulkanSDK\1.3.275.0>>%GITHUB_ENV%
24+
25+
- name: add `VULKAN_SDK\Bin` to path
26+
shell: cmd
27+
run: |
28+
echo %VULKAN_SDK%\Bin>>%GITHUB_PATH%

0 commit comments

Comments
 (0)