modifies workflow to enable publishing to PyPI (#11) #4
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
Annotations
2 errors, 2 warnings, and 1 notice
update_badges
Error: To https://github.com/AllenNeuralDynamics/aind-metadata-mapper
! refs/heads/main:refs/heads/main [remote rejected] (protected branch hook declined)
Done
Pushing to https://github.com/AllenNeuralDynamics/aind-metadata-mapper
POST git-receive-pack (559 bytes)
remote: error: GH006: Protected branch update failed for refs/heads/main.
remote: error: Changes must be made through a pull request.
error: failed to push some refs to 'https://github.com/AllenNeuralDynamics/aind-metadata-mapper'
|
update_badges
Error: To https://github.com/AllenNeuralDynamics/aind-metadata-mapper
! refs/heads/main:refs/heads/main [remote rejected] (protected branch hook declined)
Done
Pushing to https://github.com/AllenNeuralDynamics/aind-metadata-mapper
POST git-receive-pack (559 bytes)
remote: error: GH006: Protected branch update failed for refs/heads/main.
remote: error: Changes must be made through a pull request.
error: failed to push some refs to 'https://github.com/AllenNeuralDynamics/aind-metadata-mapper'
|
publish
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-python@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Upgrade to Trusted Publishing
Trusted Publishers allows publishing packages to PyPI from automated environments like GitHub Actions without needing to use username/password combinations or API tokens to authenticate with PyPI. Read more: https://docs.pypi.org/trusted-publishers
|
publish
Using a user-provided API token for authentication against https://upload.pypi.org/legacy/
|