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 48799db commit 9686345
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/id.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,15 @@ jobs:
echo "$WIDGETIDF" | tee -a free.txt
echo
fi
[ "$WIDGETIDD" ] && sed -i "/$WIDGETIDD/d" vip.txt free.txt
if [ "$WIDGETIDD" ];then
[ "$(ls vip.txt)" ] && curl -s -G -L https://github.com/Zenlua/Widget/releases/download/tmp/vip.txt | tee vip.txt
echo
[ "$(ls free.txt)" ] && curl -s -G -L https://github.com/Zenlua/Widget/releases/download/tmp/free.txt | tee free.txt
echo
for vsjf in $WIDGETIDD; do
sed -i "/$vsjf/d" vip.txt free.txt
done
fi
- name: Upload txt
uses: softprops/action-gh-release@v2
with:
Expand Down

0 comments on commit 9686345

Please sign in to comment.