diff --git a/.gitea/workflows/build_and_test.yml b/.gitea/workflows/build_and_test.yml index f85a93e6..264573ec 100644 --- a/.gitea/workflows/build_and_test.yml +++ b/.gitea/workflows/build_and_test.yml @@ -97,6 +97,16 @@ jobs: call "%VSPATH%\VC\Auxiliary\Build\vcvars64.bat" cd build cpack + - name: Upload CUDA installer as build artifact + # Keep the Windows/CUDA installer downloadable from every run (not just tagged releases) so it + # can be grabbed and tested. Short retention - it is a throwaway test build, not a release. + if: matrix.variant == 'cuda' + uses: actions/upload-artifact@v3 + with: + name: jfjoch-viewer-windows-cuda-installer + path: build/jfjoch-viewer-*-win64-cuda*.exe + retention-days: 3 + if-no-files-found: error - name: Upload installer to release if: github.ref_type == 'tag' shell: powershell