File tree Expand file tree Collapse file tree 2 files changed +15
-2
lines changed
Expand file tree Collapse file tree 2 files changed +15
-2
lines changed Original file line number Diff line number Diff line change 3232 uses : actions/upload-artifact@v2
3333 if : matrix.os == 'ubuntu-latest'
3434 with :
35- name : image
35+ name : Babylonian-trunk.zip
3636 path : ./deploy/Babylonian-trunk.zip
37+ - name : Upload Image
38+ uses : actions/upload-artifact@v2
39+ if : matrix.os == 'ubuntu-latest'
40+ with :
41+ name : screenshot
42+ path : ./deploy/screenshot-for-readme.png
Original file line number Diff line number Diff line change 1+ | browserWindow |
12FileStream startUp: true .
23TranscriptStream redirectToStdOut: true .
34Deprecation showDeprecationWarnings: false .
@@ -25,7 +26,13 @@ PluggableSystemWindow allInstances do: #abandon.
2526PreferenceWizardMorph allInstances do: #abandon .
2627SystemBrowser default: BPBrowser .
2728
28- ((Smalltalk at: #BPFancyMorph )>> #initialize ) browse.
29+
30+ " Take a screenshot"
31+ browserWindow := (ToolSet default browse: (Smalltalk at: #BPSearchCollection ) selector: #binarySearch: ) containingWindow.
32+ browserWindow extent: 891 @806 .
33+ (browserWindow submorphsSatisfying: [:m | (m isKindOf: ProportionalSplitterMorph ) and : [m width > m height]]) first repositionBy: 0 @(- 100 ).
34+ browserWindow topLeft: 30 @30 .
35+ browserWindow exportAsPNGNamed: ' screenshot-for-readme.png' .
2936
3037TranscriptStream redirectToStdOut: false .
3138Deprecation suppressed: false .
You can’t perform that action at this time.
0 commit comments