[1.2.9.7] bump to rc7 #116
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CD for Mogan Research on macOS | |
on: | |
workflow_dispatch: | |
push: | |
tags: | |
- '*' | |
jobs: | |
macosbuild: | |
runs-on: macos-13 | |
timeout-minutes: 45 | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 1 | |
- name: Install Qt | |
uses: jurplel/install-qt-action@v3 | |
with: | |
version: 6.5.3 | |
target: 'desktop' | |
cache: 'true' | |
- uses: xmake-io/github-action-setup-xmake@v1 | |
with: | |
xmake-version: v2.8.7 | |
actions-cache-folder: '.xmake-cache' | |
- name: xmake repo --update | |
run: xmake repo --update | |
- name: config | |
run: xmake config -m release -vD --yes | |
- name: build | |
run: xmake build -vD --diagnosis research | |
- name: install | |
run: xmake install -vD research | |
- name: Generate Installer | |
run: | | |
xmake install -vD research_packager | |
- name: Upload | |
uses: actions/upload-artifact@v3 | |
if: ${{ !startsWith(github.ref, 'refs/tags/') }} | |
with: | |
path: build/MoganResearch-*.dmg | |
- name: Release | |
uses: softprops/action-gh-release@v1 | |
if: startsWith(github.ref, 'refs/tags/') | |
with: | |
prerelease: true | |
files: build/MoganResearch-*.dmg |