Skip to content

Commit 98c9daf

Browse files
authored
fix: store TESTDIR without suffix, for #79 (#80)
1 parent 6e5c998 commit 98c9daf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test.bats

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ teardown() {
5858
# Persist TESTDIR if running inside GitHub Actions. Useful for uploading test result artifacts
5959
# See example at https://github.com/ddev/github-action-add-on-test#preserving-artifacts
6060
if [ -n "${GITHUB_ENV:-}" ]; then
61-
echo "TESTDIR=${TESTDIR}" >> "${GITHUB_ENV}"
61+
[ -e "${GITHUB_ENV:-}" ] && echo "TESTDIR=${HOME}/tmp/${PROJNAME}" >> "${GITHUB_ENV}"
6262
else
6363
[ "${TESTDIR}" != "" ] && rm -rf "${TESTDIR}"
6464
fi

0 commit comments

Comments
 (0)