Skip to content

Adjust GHA to build runtimes from fellows and sdk repos #75

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

Merged
merged 11 commits into from
Oct 31, 2023

Conversation

EgorPopelyaev
Copy link
Contributor

This PR adjusts both GHA's to build runtimes from the fellowship and sdk repos:

  1. Added possibility to set the repo from where to build runtimes
  2. Refactored caching: now the as a cache key used the ref from the target repo (polkadot-sdk or polkadot-fellows/runtimes)

Copy link
Contributor

@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.

small fixes


- name: Srtool build
id: srtool_build
if: ${{ steps.cache_runtime.outputs.cache-hit != 'true' }}
uses: chevdor/srtool-actions@v0.8.0
uses: chevdor/srtool-actions@wk-230920-add-debug
Copy link
Contributor

Choose a reason for hiding this comment

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

The extra debug and clean is nice but it does not explain the need to go offroad.
I would suggest staying the a release tag.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Totally agree, then we need to wait till those changes are going to be released

Copy link
Contributor

Choose a reason for hiding this comment

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

Do we really need the extra debug and fixes ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

seems like the fix is needed, cause with the current released version 0.8.0 it was failing

@EgorPopelyaev EgorPopelyaev merged commit 0a72a28 into master Oct 31, 2023
@EgorPopelyaev EgorPopelyaev deleted the ep-adjust-fellows-runtimes-action branch October 31, 2023 07:07
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.

2 participants