Skip to content

Commit

Permalink
Regenerate stylesheet files when building paclet
Browse files Browse the repository at this point in the history
  • Loading branch information
rhennigan committed Jan 30, 2024
1 parent 8089d73 commit 8467c32
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/Release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,9 @@ jobs:
- name: BuildMX
run: wolframscript -f Scripts/BuildMX.wls

- name: RegenerateStylesheetCaches
run: wolframscript -f Scripts/RegenerateStylesheetCaches.wls

- name: Submit
uses: WolframResearch/[email protected]

Expand Down
1 change: 1 addition & 0 deletions Scripts/BuildPaclet.wls
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ BeginPackage[ "Wolfram`ChatbookScripts`" ];

If[ ! TrueQ @ $loadedDefinitions, Get @ FileNameJoin @ { DirectoryName @ $InputFileName, "Common.wl" } ];
Get @ cFile @ FileNameJoin @ { DirectoryName @ $InputFileName, "BuildMX.wls" };
Get @ cFile @ FileNameJoin @ { DirectoryName @ $InputFileName, "RegenerateStylesheetCaches.wls" };

result = checkResult @ Wolfram`PacletCICD`BuildPaclet[
$defNB,
Expand Down

0 comments on commit 8467c32

Please sign in to comment.