-
Notifications
You must be signed in to change notification settings - Fork 236
Bump deps, use scarb in nightly #3553
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
Conversation
c8e511d
to
803d694
Compare
fi | ||
- name: Publish ${{ inputs.plugin_name }} | ||
if: needs.check-uploaded.outputs.plugin_uploaded == 'false' || github.event_name == 'workflow_dispatch' |
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.
github.event_name == 'workflow_dispatch'
this line is responsible for publishing plugin manually
As you can see, the only way to trigger _publish-plugin.yml
is workflow_call
, but there is no such event_name as workflow_call
, event_name is always inherited from calling workflow, in that scenerio it will be always, workflow_dispatch
from publish-plugin.yml
, that can be triggered only in that way
workflow_dispatch: |
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.
Right, but even in case of manually running a workflow, we should still check if the plugin was not published already. Because if it was, the workflow will just fail, unless that was the intended behavior?
The problem is, _publish-plugin
workflow is also reused in nightly workflow which is also triggered manually. If any step of nightly workflow fails after uploading plugins, then due to this line, you cannot re-run it because on subsequent runs it will fail as it will try to upload plugin again (which registry doesn't allow).
6c35a9d
to
ca0a82a
Compare
87da6e1
to
4ecadbb
Compare
ca0a82a
to
4f3e920
Compare
4ecadbb
to
5587a2f
Compare
4f3e920
to
d09878a
Compare
5587a2f
to
677adac
Compare
677adac
to
30098cd
Compare
0085c56
to
d114d09
Compare
3f90191
to
9c07719
Compare
1bb6493
to
f77ab9e
Compare
9c07719
to
5dbf277
Compare
commit-id:fa08970b
f77ab9e
to
7bb7b2a
Compare
5dbf277
to
cf5fcb2
Compare
✓ Commit merged in pull request #3559 |
Stack:
supports-panic-backtrace
test condition #3503_std
packages #3470snforge_std
orsnforge_std_compatibility
insnforge
new #3466_compatibility
plugin #3465_compatibility
package #3464scarbfmt
#3419