Skip to content

Commit

Permalink
chore(CI): 尝试修复是否存在初始化不完全的情况
Browse files Browse the repository at this point in the history
  • Loading branch information
MemoryShadow committed Mar 10, 2024
1 parent dd83433 commit ac27e09
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -162,14 +162,14 @@ jobs:
docker exec -t ubuntuInstance bash -c "apt-get update &> /dev/null; apt-get install -y -q sudo wget tzdata>/dev/null; \
echo minecraftctl installing...; \
sudo apt install -y -q ${pwd_path}/packages/${{ needs.build.outputs.DEB_AMD64 }} | grep 'minecraftctl'; \
echo minecraftctl installed...;\
sudo minecraftctl help;\
echo minecraftctl installed...; \
sudo minecraftctl help; \
cat /etc/minecraftctl/config | grep --color '^export GamePath=\"\${HOME}/Minecraft\"$'; \
echo minecraftctl uninstalling...; \
sudo apt remove --purge -y minecraftctl > /dev/null; \
echo minecraftctl Install the latest release...; \
download_url=`curl -s https://api.github.com/repos/MemoryShadow/minecraftctl/releases/latest | grep 'browser_download_url' | grep amd64.deb`; \
curl -s https://api.github.com/repos/MemoryShadow/minecraftctl/releases/latest | grep 'browser_download_url' | grep amd64.deb; \
download_url=`curl -s https://api.github.com/repos/MemoryShadow/minecraftctl/releases/latest \| grep 'browser_download_url' \| grep amd64.deb`; \
echo download_url: ${download_url}; \
download_url=${download_url#*: \"}; download_url=${download_url%\"*}; \
echo download_url: ${download_url}; \
Expand Down

0 comments on commit ac27e09

Please sign in to comment.