[73_37] Fix hdiuitl by adding /usr/bin/sudo #120
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 Windows | |
on: | |
workflow_dispatch: | |
push: | |
tags: | |
- '*' | |
jobs: | |
windowsbuild: | |
runs-on: windows-2019 | |
timeout-minutes: 45 | |
steps: | |
- uses: xmake-io/github-action-setup-xmake@v1 | |
with: | |
xmake-version: v2.9.6 | |
- name: update repo | |
run: | | |
xrepo update-repo | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 1 | |
- name: config | |
run: xmake config --yes -vD -m release | |
- name: build | |
run: xmake build -vD research | |
- name: install | |
run: xmake install -vD research | |
- name: Generate Installer | |
run: xmake pack --yes -vD research | |
- name: Upload | |
uses: actions/upload-artifact@v3 | |
if: ${{ !startsWith(github.ref, 'refs/tags/') }} | |
with: | |
path: | | |
build/xpack/research/*.exe | |
build/xpack/research/*.zip | |
- name: Release | |
uses: softprops/action-gh-release@v1 | |
if: startsWith(github.ref, 'refs/tags/') | |
with: | |
prerelease: true | |
files: | | |
build/xpack/research/*.exe | |
build/xpack/research/*.zip |