Skip to content

Commit

Permalink
Update id.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Zenlua authored May 28, 2024
1 parent 51a528e commit 0660bd9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/id.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,21 +36,21 @@ jobs:
# Kakathic
cd $GITHUB_WORKSPACE
if [ "$SERIAL" ] && [ "$WIDGETID" ];then
curl -s -G -L https://github.com/Zenlua/Widget/releases/download/tmp/vip.txt | tee vip.txt
curl -s -G -L https://github.com/Zenlua/Widget/releases/download/tmp/vip.txt | sed "/Not Found/d" | tee vip.txt
echo
echo "$WIDGETID" | tr ' ' '\n' | awk '{print "'$SERIAL'="$0}' | tee -a vip.txt
echo
fi
if [ "$WIDGETIDF" ];then
curl -s -G -L https://github.com/Zenlua/Widget/releases/download/tmp/free.txt | tee free.txt
curl -s -G -L https://github.com/Zenlua/Widget/releases/download/tmp/free.txt | sed "/Not Found/d" | tee free.txt
echo
echo "$WIDGETIDF" | tr ' ' '\n' | tee -a free.txt
echo
fi
if [ "$WIDGETIDD" ];then
[ -e "$GITHUB_WORKSPACE/vip.txt" ] || curl -s -G -L https://github.com/Zenlua/Widget/releases/download/tmp/vip.txt | tee vip.txt
[ -e "$GITHUB_WORKSPACE/vip.txt" ] || curl -s -G -L https://github.com/Zenlua/Widget/releases/download/tmp/vip.txt | sed "/Not Found/d" | tee vip.txt
echo
[ -e "$GITHUB_WORKSPACE/free.txt" ] || curl -s -G -L https://github.com/Zenlua/Widget/releases/download/tmp/free.txt | tee free.txt
[ -e "$GITHUB_WORKSPACE/free.txt" ] || curl -s -G -L https://github.com/Zenlua/Widget/releases/download/tmp/free.txt | sed "/Not Found/d" | tee free.txt
echo
for vsjf in $WIDGETIDD; do
sed -i "/$vsjf/d" $GITHUB_WORKSPACE/*.txt
Expand Down

0 comments on commit 0660bd9

Please sign in to comment.