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 1f4b134 commit be3dff7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,9 @@ jobs:
echo minecraftctl uninstalling...; \
sudo apt remove --purge -y minecraftctl; \
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`; \
download_url=`curl -s https://api.github.com/repos/MemoryShadow/minecraftctl/releases/latest | grep 'browser_download_url' | grep amd64.deb`; \
download_url=${download_url#*: \"}; download_url=${download_url%\"*}; \
echo download_url: ${download_url}; \
wget ${download_url}; sudo apt install -y -q ./${download_url##*/}; rm ${download_url##*/}; \
CheckID=`date +%s%N | md5sum | cut -c 1-10`; \
echo -e "\n\nexport CheckID='${CheckID}'" | sudo tee -a /etc/minecraftctl/config; \
Expand Down

0 comments on commit be3dff7

Please sign in to comment.