-
Notifications
You must be signed in to change notification settings - Fork 20
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
plasma-infra: Fix publish rc #1143
Conversation
|
||
## Высчитываем условие для загрузки assets | ||
- name: Computed scope state | ||
id: scope | ||
uses: actions/github-script@v6 | ||
env: | ||
CHANGED_STATE: ${{ toJSON(steps.lerna_ls.outputs.STATE) }} | ||
RAW_DATA: ${{ steps.lerna_ls.outputs.RAW_DATA }} |
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.
[Note]:
В processing-scope.js
ожидалась переменная RAW_DATA
без обертки toJSON
Theme Builder app deployed! https://plasma.sberdevices.ru/pr/plasma-theme-builder-pr-1143/ |
if: ${{ always() && contains(needs.*.result, 'failure') }} | ||
env: | ||
FAILED_JOB_NAME: ${{ contains(needs.change-state.result, 'failure') && 'Save state' || 'Publish RC version / publish' }} | ||
FAILED_JOB_NAME: ${{ contains(needs.change-state.result, 'failure') && 'State' || 'Publish RC version / publish' }} |
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.
[Note]:
[Handle errors]
Unhandled error: TypeError: Cannot read properties of undefined (reading 'find')
Потому что имя job === "State"
а не "Save state"
Это bug причем очень старый - копипаста из песочницы. (
У нас не стрелял по причине того что никогда первая job не падала.
3d2af3d
to
a3b88b2
Compare
What/why changed
В workflow для публикации релиз кандидата забыл
process-scope.js
📦 Published PR as canary version:
Canary Versions
✨ Test out this PR locally via: