Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nyurik committed Aug 5, 2024
1 parent 0eb7eda commit 4e42859
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/actions/qt5-build/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ export PATH="$QT_ROOT_DIR/bin:$PATH"

echo "Downloading and installing Rust..."
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal
. "$HOME/.cargo/env"
# this script is being ran under sudo, so $HOME is incorrect and this won't work : . "$HOME/.cargo/env"
. "/home/runner/.cargo/env"

mkdir build && cd build
cmake ../source/ \
Expand Down
3 changes: 2 additions & 1 deletion .github/actions/qt6-build/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ export PATH="$QT_ROOT_DIR/bin:$PATH"

echo "Downloading and installing Rust..."
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal
. "$HOME/.cargo/env"
# this script is being ran under sudo, so $HOME is incorrect and this won't work : . "$HOME/.cargo/env"
. "/home/runner/.cargo/env"

mkdir build && cd build
qt-cmake ../source/ \
Expand Down

0 comments on commit 4e42859

Please sign in to comment.