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 76cce32 commit 51a528e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/id.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,13 @@ jobs:
if [ "$SERIAL" ] && [ "$WIDGETID" ];then
curl -s -G -L https://github.com/Zenlua/Widget/releases/download/tmp/vip.txt | tee vip.txt
echo
echo "$WIDGETID" | awk '{print "'$SERIAL'="$0}' | tee -a vip.txt
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
echo
echo "$WIDGETIDF" | tee -a free.txt
echo "$WIDGETIDF" | tr ' ' '\n' | tee -a free.txt
echo
fi
if [ "$WIDGETIDD" ];then
Expand All @@ -55,6 +55,7 @@ jobs:
for vsjf in $WIDGETIDD; do
sed -i "/$vsjf/d" $GITHUB_WORKSPACE/*.txt
done
cat $GITHUB_WORKSPACE/*.txt
fi
- name: Upload txt
uses: softprops/action-gh-release@v2
Expand Down

0 comments on commit 51a528e

Please sign in to comment.