Install rust globally #395
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: Install mxpy (MacOS) | |
on: | |
pull_request: | |
branches: [main, feat/*] | |
workflow_dispatch: | |
env: | |
BRANCH_NAME: ${{ github.head_ref || github.ref_name }} | |
jobs: | |
install: | |
runs-on: macos-latest | |
strategy: | |
matrix: | |
python-version: [3.8] | |
steps: | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install | |
run: | | |
wget -O mxpy-up.py https://raw.githubusercontent.com/multiversx/mx-sdk-py-cli/$BRANCH_NAME/mxpy-up.py | |
python3 mxpy-up.py --from-branch $BRANCH_NAME --not-interactive | |
- name: Smoke test | |
run: | | |
export PATH="~/multiversx-sdk:${PATH}" | |
mxpy --version |