Compare commits
7 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f59ea26c6d | ||
|
|
e345907744 | ||
|
|
4fdf899fb4 | ||
|
|
bc0cbb72c2 | ||
|
|
99c9398146 | ||
|
|
5a6a0b3105 | ||
|
|
74860fa3f9 |
@@ -8,7 +8,7 @@ inputs:
|
|||||||
path:
|
path:
|
||||||
description: 'Directory containing source code & .spec file (optional requirements.txt).'
|
description: 'Directory containing source code & .spec file (optional requirements.txt).'
|
||||||
required: True
|
required: True
|
||||||
default: src/
|
default: src
|
||||||
outputs:
|
outputs:
|
||||||
output:
|
output:
|
||||||
description: 'The output of PyInstaller'
|
description: 'The output of PyInstaller'
|
||||||
|
|||||||
@@ -9,7 +9,8 @@ set -e
|
|||||||
# Allow the workdir to be set using an env var.
|
# Allow the workdir to be set using an env var.
|
||||||
# Useful for CI pipiles which use docker for their build steps
|
# Useful for CI pipiles which use docker for their build steps
|
||||||
# and don't allow that much flexibility to mount volumes
|
# and don't allow that much flexibility to mount volumes
|
||||||
SRCDIR=$(pwd)/$1
|
SRCDIR=/$1
|
||||||
|
echo $SRCDIR
|
||||||
WORKDIR=${SRCDIR:-/src}
|
WORKDIR=${SRCDIR:-/src}
|
||||||
|
|
||||||
#
|
#
|
||||||
@@ -29,9 +30,10 @@ if [[ "$PYPI_URL" != "https://pypi.python.org/" ]] || \
|
|||||||
echo "Using custom pip.ini: "
|
echo "Using custom pip.ini: "
|
||||||
cat /wine/drive_c/users/root/pip/pip.ini
|
cat /wine/drive_c/users/root/pip/pip.ini
|
||||||
fi
|
fi
|
||||||
|
ls
|
||||||
|
echo 'here'
|
||||||
cd $WORKDIR
|
cd $WORKDIR
|
||||||
|
ls
|
||||||
if [ -f requirements.txt ]; then
|
if [ -f requirements.txt ]; then
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
fi # [ -f requirements.txt ]
|
fi # [ -f requirements.txt ]
|
||||||
|
|||||||
Reference in New Issue
Block a user