Skip to content

Commit 154e3a5

Browse files
committed
test installs in before-all and source ~/.bashrc before builds.
1 parent 2d2a514 commit 154e3a5

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/on-release-main.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
6969
# install Poetry
7070
curl -sSL https://install.python-poetry.org | python3 -
71-
echo "export PATH=~/.local/bin:\$PATH" >> ~/.bashrc
71+
echo 'export PATH=/root/.local/bin:$PATH' >> ~/.bashrc
7272
7373
# Install Maven
7474
export MAVEN_VERSION=3.9.9
@@ -78,8 +78,13 @@ jobs:
7878
echo "export MAVEN_HOME=$MAVEN_HOME" >> ~/.bashrc
7979
echo "export PATH=$MAVEN_HOME/bin:\$PATH" >> ~/.bashrc
8080
81+
cat ~/.bashrc
8182
source ~/.bashrc
83+
native-image --version
84+
mvn --version
85+
poetry --version
8286
CIBW_BEFORE_BUILD_LINUX: |
87+
source ~/.bashrc
8388
poetry install --no-interaction
8489
CIBW_BUILD_VERBOSITY_LINUX: 3
8590
CIBW_DEBUG_TRACEBACK: TRUE

0 commit comments

Comments
 (0)