-
Notifications
You must be signed in to change notification settings - Fork 200
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
Support for prebuilt plugin #2864
base: master
Are you sure you want to change the base?
Support for prebuilt plugin #2864
Conversation
This reverts commit cb8a3d5.
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.
Please update the description of PR.
Co-authored-by: ddoktorski <[email protected]>
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.
@THenry14 can you review the scripts (gh action) part of this?
CHANGELOG.md
Outdated
#### Added | ||
|
||
- Newly created projects won't require Rust to be installed by default | ||
|
||
### `snforge_scarb_plugin` | ||
|
||
#### Changed | ||
|
||
- Precompiled plugin binaries are now published to the registry for new versions |
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.
Maybe let's just combine these into single Forge
#### Changed
entry?
@@ -96,6 +96,7 @@ fn update_config(config_path: &Path, scarb: &Version) -> Result<()> { | |||
set_cairo_edition(&mut document, CAIRO_EDITION); | |||
add_test_script(&mut document); | |||
add_assert_macros(&mut document, scarb)?; | |||
add_allow_prebuilt_macros(&mut document)?; |
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 don't think this should always be added. What about older scarb versions that do not support prebuilt macros?
Co-authored-by: Artur Michałek <[email protected]>
@@ -5,33 +5,146 @@ on: | |||
workflow_dispatch: | |||
|
|||
jobs: | |||
upload-to-registry: | |||
name: Upload plugin to the registry | |||
check-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.
nitpick: technically it's true, but actually you're checking is_version_uploaded
or version_exists
or just plain upload_requirements
. maybe this could be improved?
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.
For me, it looks well in the context I use it. Just referencing to outputs
needs: check-version
if: needs.check-version.outputs.plugin_uploaded
Closes #2827
Introduced changes
publish_plugin
workflow to compile plugin for different platforms.Checklist
CHANGELOG.md