Skip to content

Commit 526076d

Browse files
committed
make github_actions bool
1 parent 5facafb commit 526076d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builder/penv_setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
)
3535
sys.exit(1)
3636

37-
github_actions = os.getenv('GITHUB_ACTIONS')
37+
github_actions = bool(os.getenv("GITHUB_ACTIONS"))
3838

3939
PLATFORMIO_URL_VERSION_RE = re.compile(
4040
r'/v?(\d+\.\d+\.\d+(?:[.-]\w+)?(?:\.\d+)?)(?:\.(?:zip|tar\.gz|tar\.bz2))?$',

0 commit comments

Comments
 (0)