reduce artifact retention to 3 days and add CUDA_HOME env variable
This commit is contained in:
2
.github/workflows/cuda-build.yml
vendored
2
.github/workflows/cuda-build.yml
vendored
@@ -132,4 +132,4 @@ jobs:
|
||||
name: ${{ format('quantus-miner-cuda-{0}-sm-{1}', steps.extract.outputs.short_tag, matrix.sm) }}
|
||||
path: ${{ steps.extract.outputs.bin_path }}
|
||||
if-no-files-found: error
|
||||
retention-days: 14
|
||||
retention-days: 3
|
||||
|
||||
@@ -37,6 +37,7 @@ RUN apt-get update && \
|
||||
# Install Rust (stable)
|
||||
ENV RUSTUP_HOME=/opt/rustup \
|
||||
CARGO_HOME=/opt/cargo \
|
||||
CUDA_HOME=/usr/local/cuda \
|
||||
PATH=/opt/cargo/bin:/usr/local/cuda/bin:${PATH}
|
||||
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs \
|
||||
| sh -s -- -y --profile minimal --default-toolchain stable && \
|
||||
|
||||
Reference in New Issue
Block a user