-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
Remove unmaintained CI images and update release workflow #3147
Conversation
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.
Thanks for picking this up so quickly!
Sorry for deleting that without realizing we used it here 😅
Two comments! But overall looks great!
.github/workflows/publish.yaml
Outdated
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
name: npm-package |
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.
What is this name
environment variable used for? (Just curious)
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 can't request changes on my own PR so don't merge yet, I reviewed it myself and caught something 😅
.github/workflows/publish.yaml
Outdated
- name: Download npm package | ||
uses: actions/download-artifact@v2 | ||
with: | ||
args: ./ci/steps/publish-npm.sh | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
name: npm-package |
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.
Took a second look and need to fix this; npm-package
is produced by the ci.yaml
workflow, we need to fetch it from there, this won't work.
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.
LGTM!
ci/images/debian10
was removed in a previous PR, but we still used it in our publish flow... this should fix that, and also update our documentation to stop referring to those images.Closes #3142.