Skip to content

Commit

Permalink
Pass github env variable to build
Browse files Browse the repository at this point in the history
  • Loading branch information
tgross35 committed Jan 8, 2023
1 parent 10b2aca commit 5bdb3ec
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/release-rust.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -127,12 +127,14 @@ jobs:
do_test=true
fi
# Need sudo because of `DO_TEST`
# Need sudo because of `DO_TEST`, which means we need to pass all
# environment variables inside the sudo
sudo \
STAGING_DIR="$staging_dir" \
TARGET=${{ matrix.target }} \
RELEASE_VERSION="$ref_name_stripped" \
DO_TEST="$do_test" \
GITHUB_ENV="$GITHUB_ENV" \
dist/build_deb.sh
fi
Expand Down

0 comments on commit 5bdb3ec

Please sign in to comment.