Skip to content

package-macos-native #10

package-macos-native

package-macos-native #10

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 }}