File tree Expand file tree Collapse file tree 1 file changed +45
-0
lines changed
Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Original file line number Diff line number Diff line change 4545 </plist>
4646 EOF
4747
48+ - name : Create Automator Workflow
49+ run : |
50+ mkdir -p CaptureStreamRunner.workflow/Contents
51+ cat > CaptureStreamRunner.workflow/Contents/document.wflow << 'EOF'
52+ <?xml version="1.0" encoding="UTF-8"?>
53+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
54+ <plist version="1.0">
55+ <dict>
56+ <key>actions</key>
57+ <array>
58+ <dict>
59+ <key>action</key>
60+ <string>com.apple.cocoa.applescript</string>
61+ <key>parameters</key>
62+ <dict>
63+ <key>script</key>
64+ <string>do shell script "/Applications/CaptureStream2.app/Contents/MacOS/CaptureStream2 -nogui"</string>
65+ </dict>
66+ </dict>
67+ </array>
68+ <key>workflowType</key>
69+ <string>Automator</string>
70+ </dict>
71+ </plist>
72+ EOF
73+
4874 - name : Zip Automator app
4975 run : |
5076 zip -r CaptureStream2AutoRun.zip CaptureStream2AutoRun.app
5480 with :
5581 name : CaptureStream2AutoRun
5682 path : CaptureStream2AutoRun.zip
83+
84+ - name : Create DMG
85+ run : |
86+ mkdir -p dmg_content
87+ cp -R CaptureStreamRunner.workflow dmg_content/
88+ cp -R CaptureStream2AutoRun.zip dmg_content/
89+ hdiutil create -volname "CaptureStream2 Launchers" -srcfolder dmg_content -ov -format UDZO CaptureStream2Launchers.dmg
90+
91+ - name : Upload DMG Artifact
92+ uses : actions/upload-artifact@v4
93+ with :
94+ name : CaptureStream2Launchers-dmg
95+ path : CaptureStream2Launchers.dmg
96+
97+ - name : Upload DMG Artifact
98+ uses : actions/upload-artifact@v4
99+ with :
100+ name : CaptureStream2
101+ path : dmg_content
You can’t perform that action at this time.
0 commit comments