summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCedric Nugteren <web@cedricnugteren.nl>2023-05-26 21:21:23 +0200
committerGitHub <noreply@github.com>2023-05-26 21:21:23 +0200
commit8d1cbde03615e9dab22917bf511a4361e450d815 (patch)
treeb42a4457cb86802dc3735b49f87293e341fb0676
parent1b66a1149eaaa195e3a35ab836fbe1313b289498 (diff)
Fix folder name of Windows release (#482)
-rw-r--r--.github/workflows/release.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index c56c3b39..67e7d4ac 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -79,8 +79,8 @@ jobs:
- name: Run CMake
run: |
- mkdir clblast_release_dir
- cmake -S . -B build -G "NMake Makefiles" -DCMAKE_BUILD_TYPE=Release -DTESTS=OFF -DCLIENTS=OFF -DSAMPLES=ON -DCMAKE_INSTALL_PREFIX=clblast_release_dir -DOPENCL_ROOT=C:/vcpkg/packages/opencl_x64-windows
+ mkdir "${{env.RELEASE_NAME}}"
+ cmake -S . -B build -G "NMake Makefiles" -DCMAKE_BUILD_TYPE=Release -DTESTS=OFF -DCLIENTS=OFF -DSAMPLES=ON -DCMAKE_INSTALL_PREFIX="${{env.RELEASE_NAME}}" -DOPENCL_ROOT=C:/vcpkg/packages/opencl_x64-windows
- name: Compile the code
run: cmake --build build --config Release
@@ -88,7 +88,7 @@ jobs:
- name: Package the code
run: |
cmake --build build --target install
- 7z a -r ${{env.RELEASE_NAME}}.7z clblast_release_dir
+ 7z a -r ${{env.RELEASE_NAME}}.7z "${{env.RELEASE_NAME}}"
- name: Upload the release
uses: actions/upload-artifact@v3