Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow one to specify vmtools repository #23

Merged
merged 2 commits into from
Nov 3, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions .github/workflows/contracts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,14 @@ on:
default: 'latest'
required: false
type: string
vmtools-repository:
description: 'vmtools repository to use'
default: 'https://github.com/multiversx/mx-chain-vm-go/archive/{TAG}.tar.gz'
required: false
type: string
pip-mxpy-args:
description: 'pip mxpy install arguments'
default: 'multiversx-sdk-cli==v6.0.0'
default: 'multiversx-sdk-cli==v8.1.5'
required: false
type: string
sc-meta-version:
Expand Down Expand Up @@ -69,7 +74,9 @@ jobs:
run: |
pip3 install ${{ inputs.pip-mxpy-args }}
mkdir $HOME/multiversx-sdk
python3 -m multiversx_sdk_cli.cli deps install vmtools --tag ${{ inputs.vmtools-version }}
python3 -m multiversx_sdk_cli.cli config set "dependencies.vmtools.urlTemplate.linux" ${{ inputs.vmtools-repository }}
python3 -m multiversx_sdk_cli.cli config set "dependencies.vmtools.tag" ${{ inputs.vmtools-version }}
python3 -m multiversx_sdk_cli.cli deps install vmtools --overwrite

wget -O binaryen.tar.gz https://github.com/WebAssembly/binaryen/releases/download/${{ inputs.binaryen-version }}/binaryen-${{ inputs.binaryen-version }}-x86_64-linux.tar.gz
tar -xf binaryen.tar.gz
Expand Down