Skip to content

Commit e838e6a

Browse files
committed
Chore: export env through GITHUB_ENV
1 parent 296e624 commit e838e6a

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/rust.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,9 @@ jobs:
4444
run: rustup component add rustfmt clippy
4545

4646
- name: Download OptiX Headers
47-
run: scripts/download_ci_optix.bash
47+
run: |
48+
chmod +x "${GITHUB_WORKSPACE}/scripts/download_ci_optix.bash"
49+
scripts/download_ci_optix.bash
4850
4951
- name: Load Rust Cache
5052
uses: Swatinem/rust-cache@v1

scripts/download_ci_optix.bash

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,5 @@ for f in optix.h optix_device.h optix_function_table.h \
1616
curl --retry 100 -m 120 --connect-timeout 30 \
1717
$OPTIX_URL/include/$f > $DEPS_DIR/optix/include/$f
1818
done
19-
export OPTIX_ROOT=${DEPS_DIR}/optix
19+
OPTIX_ROOT=${DEPS_DIR}/optix
20+
echo "OPTIX_ROOT=${OPTIX_ROOT}" >> $GITHUB_ENV

0 commit comments

Comments
 (0)