Skip to content

Commit c42552f

Browse files
authored
Another attempt to fix artefacts publishing
1 parent 252f463 commit c42552f

File tree

1 file changed

+8
-13
lines changed

1 file changed

+8
-13
lines changed

.github/workflows/cmake-single-platform.yml

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212

1313
permissions:
1414
contents: write
15-
15+
1616
env:
1717
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
1818
BUILD_TYPE: Release
@@ -35,7 +35,7 @@ jobs:
3535
vulkan-query-version: 1.4.304.1
3636
vulkan-components: Vulkan-Headers, Vulkan-Loader
3737
vulkan-use-cache: true
38-
38+
3939
- name: Configure CMake
4040
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
4141
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
@@ -55,15 +55,10 @@ jobs:
5555
working-directory: ${{github.workspace}}/build
5656
run: cmake --build . --target package --config ${{env.BUILD_TYPE}}
5757

58-
release:
59-
needs: build
58+
- name: Upload Release Asset
6059
if: github.event_name == 'release'
61-
runs-on: windows-latest
62-
steps:
63-
- uses: actions/checkout@v4
64-
- name: Upload Release Asset
65-
uses: softprops/action-gh-release@v2
66-
with:
67-
files: ${{github.workspace}}/build/*.zip
68-
env:
69-
GITHUB_TOKEN: ${{ secrets.ACTION_UPDATE_RELEASE }}
60+
uses: softprops/action-gh-release@v2
61+
with:
62+
files: ${{github.workspace}}/build/*.zip
63+
env:
64+
GITHUB_TOKEN: ${{ secrets.ACTION_UPDATE_RELEASE }}

0 commit comments

Comments
 (0)