Skip to content

Commit 6f91573

Browse files
committed
Bugfix: Can't setting publisher ID to "Wolfram" in GH actions causes failures
1 parent ed161c2 commit 6f91573

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Scripts/BuildPaclet.wls

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ BeginPackage[ "Wolfram`ChatbookScripts`" ];
66
(* ::Section::Closed:: *)
77
(*Initialization*)
88
If[ ! TrueQ @ $loadedDefinitions, Get @ FileNameJoin @ { DirectoryName @ $InputFileName, "Common.wl" } ];
9-
System`$PublisherID = "Wolfram";
9+
If[ ! StringQ @ Environment[ "GITHUB_ACTIONS" ], System`$PublisherID = "Wolfram" ];
1010

1111
(* ::**************************************************************************************************************:: *)
1212
(* ::Subsection::Closed:: *)

0 commit comments

Comments
 (0)