mirror of
https://github.com/greatest-ape/aquatic.git
synced 2026-10-22 17:31:15 +00:00
Fix issue in file transfer CI
This commit is contained in:
1 parent
40b2513997
commit
3f3ecf21cb
1 file changed
+2
-9
@@ -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
|
||||
|
||||
Reference in new issue
Block a user