-
Notifications
You must be signed in to change notification settings - Fork 4
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
Update contracts workflow #26
Conversation
required: false | ||
type: string | ||
path-to-sc-meta: | ||
description: 'multiversx-sc-meta from local' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very good - since it will be used in mx-sdk-rs
.
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 }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indeed. Legacy.
then | ||
sc-meta install mx-scenario-go | ||
else | ||
sc-meta install mx-scenario-go --tag ${{ inputs.mx-scenario-go-version }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 The thing that triggered this change.
|
||
- name: Generate the contract report | ||
env: | ||
RUSTFLAGS: "" | ||
run: | | ||
sc-meta all build-dbg --twiggy-paths --target-dir $(pwd)/target --path . | ||
python3 -m multiversx_sdk_cli.cli contract report --skip-build --skip-twiggy --output-format json --output-file report.json | ||
mxpy contract report --skip-build --skip-twiggy --output-format json --output-file report.json |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since reports aren't yet implemented by sc-meta (as far as we know).
@@ -213,5 +206,5 @@ jobs: | |||
env: | |||
RUSTFLAGS: "" | |||
with: | |||
github_token: ${{ secrets.token }} | |||
github_token: ${{ github.token }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, so before was secrets.token
. Interesting that the change was necessary.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think there is no difference
@@ -27,15 +27,14 @@ permissions: | |||
jobs: | |||
contracts: | |||
name: Contracts | |||
uses: multiversx/mx-sc-actions/.github/workflows/contracts.yml@v2 | |||
uses: multiversx/mx-sc-actions/.github/workflows/contracts.yml@v3 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, we release it as a new major version.
No description provided.