Skip to content

Commit ccc84b1

Browse files
committed
Add 'run wheels workflow' script
1 parent dc2ee97 commit ccc84b1

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#!/bin/bash
2+
3+
# check whether user had supplied -h or --help . If yes display usage
4+
if [[ ( $@ == "--help") || $@ == "-h" ]]
5+
then
6+
echo "Usage: $0 <repository> <branch>"
7+
exit 0
8+
fi
9+
10+
11+
gh workflow run "LuxCore Wheels Builder" --repo $1 --ref $2
12+
gh run list --workflow="wheel-builder.yml" --repo $1

0 commit comments

Comments
 (0)