File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Create macOS release on tag push
2+
3+ on :
4+ push :
5+ tags :
6+ - " v*"
7+
8+ jobs :
9+ build :
10+ runs-on : macos-latest
11+ steps :
12+ - uses : actions/checkout@v3
13+ - name : Install Qt
14+ uses : jurplel/install-qt-action@v3
15+ with :
16+ modules : qtwebengine
17+ - name : qmake
18+ run : qmake qserial.pro
19+ - name : make
20+ run : make
21+ - name : Change libusb path
22+ run : install_name_tool -change /usr/local/opt/libusb/lib/libusb-1.0.0.dylib @executable_path/../Frameworks/libusb-1.0.0.dylib QSerial.app/Contents/MacOS/QSerial
23+ - name : Copy libusb to frameworks
24+ run : mkdir -p QSerial.app/Contents/Frameworks && cp /usr/local/lib/libusb-1.0.0.dylib QSerial.app/Contents/Frameworks/libusb-1.0.0.dylib
25+ - name : Qt mac deploy to .dmg
26+ run : macdeployqt QSerial.app -verbose=1 -dmg
27+ - name : Release
28+ uses : softprops/action-gh-release@v1
29+ if : startsWith(github.ref, 'refs/tags/')
30+ with :
31+ files : QSerial.dmg
32+
33+ permissions :
34+ contents : write
You can’t perform that action at this time.
0 commit comments