Skip to content

Commit

Permalink
Update test.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Zenlua authored Nov 1, 2023
1 parent a94496b commit c48dc5e
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions test.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
GITENV(){ echo "$1=$2" >> $GITHUB_ENV; }


GITENV kk 123

echo $kk
while true; do
if [ "$(gh issue view 14 | grep -cm1 CLOSED)" == 1 ];then
gh run cancel $GITHUB_RUN_ID
else
sleep 1
echo 1
fi
done

0 comments on commit c48dc5e

Please sign in to comment.