- name: Install packages
run: brew install flex byacc make doxygen graphviz
- name: Make
- run: make -j3 YACC=byacc
+ run: make -j3 YACC=byacc archive
+ - name: Rename
+ run: mv dataworks.tar.gz dataworks-macos-arm64.tar.gz && mv dataworks.zip dataworks-macos-arm64.zip && mv Client/dataworks dataworks-macos-arm64 && mv Server/dataworks_server dataworks-server-macos-arm64
+ - name: Upload artifact
+ uses: actions/upload-artifact@v4
+ with:
+ name: build-macos
+ path: |
+ dataworks-*.tar.gz
+ dataworks-*.zip
+ dataworks-server-macos-arm64
+ dataworks-macos-arm64
release:
uses: actions/checkout@v4
- name: Download from build-generic
uses: actions/download-artifact@v4
- - name: Extract the zipfile
+ - name: Extract the build-generic.zip
run: unzip build-generic.zip
+ - name: Extract the build-macos.zip
+ run: unzip build-macos.zip
- name: Release
run: gh release create -t "Release $(date +"%a %b %e %H:%M:%S %Z %Y")" "$(date +%Y%m%d%H%M%S)" dataworks-linux64.{tar.gz,zip} dataworks-win32.{tar.gz,zip} dataworks-dos4g.{tar.gz,zip} dataworks-dos.{tar.gz,zip} dataworks-win64.{tar.gz,zip} dataworks-server-win32.exe dataworks-server-win64.exe dataworks-server-dos.exe dataworks-server-dos4g.exe dataworks-win32.exe dataworks-win64.exe dataworks-dos.exe dataworks-dos4g.exe dataworks-linux64 dataworks-server-linux64 -n "Version \`$(make get-version)\` was built in this release"
env: