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

Add env.BUILD_OPTS #9

Merged
merged 8 commits into from Apr 28, 2022
Merged

Add env.BUILD_OPTS #9

merged 8 commits into from Apr 28, 2022

Conversation

ermalkaleci
Copy link
Contributor

@ermalkaleci ermalkaleci commented Jan 18, 2022

env.BUILD_OPTS will be passed to docker srtool run command

ermalkaleci added a commit to AcalaNetwork/Acala that referenced this pull request Jan 18, 2022
Update when this gets merged chevdor/srtool-actions#9
@ermalkaleci ermalkaleci marked this pull request as draft January 19, 2022 13:20
@ermalkaleci ermalkaleci marked this pull request as ready for review January 20, 2022 11:20
xlc pushed a commit to AcalaNetwork/Acala that referenced this pull request Jan 22, 2022
* srtool with features

Update when this gets merged chevdor/srtool-actions#9

* remove new line

* fix new line
Copy link
Owner

@chevdor chevdor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Few small details but thanks a lot for the PR and sorry for the time it took to review. I mainly need those commits to be signed.

README.md Outdated
Comment on lines 146 to 154
## Environmental variables
```
...
uses: chevdor/srtool-actions@v*
env:
BUILD_OPTS: --features on-chain-release-build # optional: will be passed to docker srtool run cmd
with:
...
```
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This repo uses ASCIIDOC for the doc and the .md is generated so your change would be overriden.

Could you please add:

== Environmental variables

[source,bash]
----
    ...
    uses: chevdor/srtool-actions@v*
    env:
        # optional: will be passed to docker srtool run cmd
        BUILD_OPTS: --features on-chain-release-build
    with:
        ...
----

into README_src.adoc at L58 ?

You probably don't have the asciidoc toolchain so don't bother installing it, I will generate the new .md after merging.

action.yml Show resolved Hide resolved
@chevdor
Copy link
Owner

chevdor commented Apr 26, 2022

As a sidenote, this PR bring the same option than the --build-opts flag of the srtool-cli

@chevdor chevdor merged commit 7531320 into chevdor:master Apr 28, 2022
@ermalkaleci ermalkaleci deleted the build_opts_env branch April 28, 2022 10:58
@ermalkaleci ermalkaleci restored the build_opts_env branch April 28, 2022 11:03
@ermalkaleci
Copy link
Contributor Author

@chevdor is there going to be a new tag?

@ermalkaleci ermalkaleci deleted the build_opts_env branch April 28, 2022 12:38
@chevdor
Copy link
Owner

chevdor commented Apr 28, 2022

Yes but I want to update the doc and the examples first).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants