mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-03-31 09:45:31 +00:00
Fix issue in file transfer CI
This commit is contained in:
parent
40b2513997
commit
3f3ecf21cb
1 changed files with 2 additions and 9 deletions
|
|
@ -27,21 +27,14 @@ go build -o $HOME/gotorrent ./cmd/torrent
|
||||||
cd ..
|
cd ..
|
||||||
file $HOME/gotorrent
|
file $HOME/gotorrent
|
||||||
|
|
||||||
# Clone repository if necessary, go to repository directory
|
# Go to repository directory
|
||||||
|
|
||||||
if [[ -z "${GITHUB_WORKSPACE}" ]]; then
|
if [[ -z "${GITHUB_WORKSPACE}" ]]; then
|
||||||
cd "$HOME"
|
exit 1
|
||||||
|
|
||||||
git clone https://github.com/greatest-ape/aquatic.git
|
|
||||||
|
|
||||||
cd aquatic
|
|
||||||
else
|
else
|
||||||
cd "$GITHUB_WORKSPACE"
|
cd "$GITHUB_WORKSPACE"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "last aquatic commits:"
|
|
||||||
git log --oneline -3
|
|
||||||
|
|
||||||
# Setup bogus TLS certificate
|
# Setup bogus TLS certificate
|
||||||
|
|
||||||
$SUDO echo "127.0.0.1 example.com" >> /etc/hosts
|
$SUDO echo "127.0.0.1 example.com" >> /etc/hosts
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue