package-macos-native #10
Workflow file for this run
This file contains hidden or 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: package-macos-native | |
on: | |
release: | |
types: [created] | |
jobs: | |
package: | |
runs-on: macos-latest | |
steps: | |
- name: Symlink Python3 | |
run: | | |
mkdir -p python_dir | |
ln -s $(which python3) python_dir/python | |
- name: fetch recipe | |
run: git clone https://github.com/MRtrix3/macos-installer.git | |
- name: build packages | |
run: ./build ${GITHUB_REF#refs/*/} 5.15.16 ${{ github.workspace }}/python_dir | |
working-directory: ./macos-installer | |
- name: Upload package to GitHub Release | |
uses: AButler/[email protected] | |
with: | |
files: 'macos-installer/mrtrix3-macos-*.tar.gz' | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |