Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
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,7 @@ 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
|
||||||
WORKDIR=${SRCDIR:-/src}
|
WORKDIR=${SRCDIR:-/src}
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|||||||
Reference in New Issue
Block a user