feat: workdir variable

This commit is contained in:
ange 2024-11-29 05:39:38 +00:00
parent 2b2a1ac12c
commit d1f56fe98d
Signed by: ange
GPG Key ID: 9E0C4157BB7BEB1D
2 changed files with 5 additions and 0 deletions

View File

@ -7,6 +7,9 @@ inputs:
default: ${{ gitea.repository_owner }}
registry_password:
description: Registry password
workdir:
description: Working directory where to the action from
default: .
runs:
using: composite

View File

@ -1,6 +1,8 @@
#!/bin/bash -e
# shellcheck disable=SC1091
cd "$INPUT_WORKDIR"
set -a
. ./.env
set +a