feat: workdir variable
This commit is contained in:
parent
2b2a1ac12c
commit
d1f56fe98d
@ -7,6 +7,9 @@ inputs:
|
|||||||
default: ${{ gitea.repository_owner }}
|
default: ${{ gitea.repository_owner }}
|
||||||
registry_password:
|
registry_password:
|
||||||
description: Registry password
|
description: Registry password
|
||||||
|
workdir:
|
||||||
|
description: Working directory where to the action from
|
||||||
|
default: .
|
||||||
|
|
||||||
runs:
|
runs:
|
||||||
using: composite
|
using: composite
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
#!/bin/bash -e
|
#!/bin/bash -e
|
||||||
# shellcheck disable=SC1091
|
# shellcheck disable=SC1091
|
||||||
|
|
||||||
|
cd "$INPUT_WORKDIR"
|
||||||
|
|
||||||
set -a
|
set -a
|
||||||
. ./.env
|
. ./.env
|
||||||
set +a
|
set +a
|
||||||
|
Loading…
Reference in New Issue
Block a user