From 3f3ecf21cb9eec60339e551ec3bb5aea98ae0b3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20Frosteg=C3=A5rd?= Date: Sat, 4 Feb 2023 18:28:28 +0100 Subject: [PATCH] Fix issue in file transfer CI --- .github/actions/test-file-transfers/entrypoint.sh | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/.github/actions/test-file-transfers/entrypoint.sh b/.github/actions/test-file-transfers/entrypoint.sh index 2fab330..87bae51 100755 --- a/.github/actions/test-file-transfers/entrypoint.sh +++ b/.github/actions/test-file-transfers/entrypoint.sh @@ -27,21 +27,14 @@ go build -o $HOME/gotorrent ./cmd/torrent cd .. file $HOME/gotorrent -# Clone repository if necessary, go to repository directory +# Go to repository directory if [[ -z "${GITHUB_WORKSPACE}" ]]; then - cd "$HOME" - - git clone https://github.com/greatest-ape/aquatic.git - - cd aquatic + exit 1 else cd "$GITHUB_WORKSPACE" fi -echo "last aquatic commits:" -git log --oneline -3 - # Setup bogus TLS certificate $SUDO echo "127.0.0.1 example.com" >> /etc/hosts