Commit c323fd4 1 parent 27eff99 commit c323fd4 Copy full SHA for c323fd4
File tree 1 file changed +22
-3
lines changed
1 file changed +22
-3
lines changed Original file line number Diff line number Diff line change 60
60
echo "build-output-dir=${{ github.workspace }}/build" >> "$GITHUB_OUTPUT"
61
61
echo "vulkan-sdk-dir=${{ github.workspace }}/VULKAN_SDK" >> "$GITHUB_OUTPUT"
62
62
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
+
63
73
- name : Install dependencies
64
74
if : matrix.os == 'ubuntu-latest'
65
75
run : sudo apt-get update && sudo apt-get install -y libglfw3-dev libglm-dev
@@ -90,6 +100,15 @@ jobs:
90
100
uses : actions/upload-artifact@v4
91
101
with :
92
102
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