File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6060 echo "build-output-dir=${{ github.workspace }}/build" >> "$GITHUB_OUTPUT"
6161 echo "vulkan-sdk-dir=${{ github.workspace }}/VULKAN_SDK" >> "$GITHUB_OUTPUT"
6262
63+ - name : Set artifact path (Windows)
64+ shell : bash
65+ run : echo "ARTIFACT_PATH=${{ github.workspace }}\build\apps\viewer\Release\vulkan_splatting_viewer.exe" >> "$GITHUB_ENV"
66+ if : runner.os == 'Windows'
67+
68+ - name : Set artifact path (POSIX)
69+ shell : bash
70+ run : echo "ARTIFACT_PATH=${{ github.workspace }}/build/apps/viewer/vulkan_splatting_viewer" >> "$GITHUB_ENV"
71+ if : runner.os != 'Windows'
72+
6373 - name : Install dependencies
6474 if : matrix.os == 'ubuntu-latest'
6575 run : sudo apt-get update && sudo apt-get install -y libglfw3-dev libglm-dev
@@ -90,6 +100,15 @@ jobs:
90100 uses : actions/upload-artifact@v4
91101 with :
92102 name : vulkan_splatting-${{ matrix.os }}-${{ matrix.c_compiler }}-${{ matrix.build_type }}
93- path : |
94- ${{ steps.strings.outputs.build-output-dir }}/apps/viewer/vulkan_splatting_viewer
95- ${{ steps.strings.outputs.build-output-dir }}/apps/viewer/Release/vulkan_splatting_viewer.exe
103+ path : ${{ env.ARTIFACT_PATH }}
104+
105+ - name : Release nightly
106+ if : github.ref == 'refs/heads/main'
107+ uses : softprops/action-gh-release@v2
108+ with :
109+ prerelease : true
110+ name : nightly
111+ tag_name : nightly
112+ files : ${{ env.ARTIFACT_PATH }}
113+ fail_on_unmatched_files : true
114+
You can’t perform that action at this time.
0 commit comments