Skip to content
This repository has been archived by the owner on Jun 27, 2023. It is now read-only.

Add option to produce GitHub artifacts #16

Closed
rcarcasses opened this issue Apr 20, 2020 · 2 comments
Closed

Add option to produce GitHub artifacts #16

rcarcasses opened this issue Apr 20, 2020 · 2 comments
Labels
question Further information is requested

Comments

@rcarcasses
Copy link

As far as I have understood this GitHub Action allows to produce fixed wheels and push it automatically to public registry. I wonder if we could take the output of this build process and upload it to private registries, for instance, or to produce artifacts that we could use with actions/upload-artifact@v1. Any ideas?

@RalfG
Copy link
Owner

RalfG commented Apr 25, 2020

This action only builds the wheels. They can then be uploaded using e.g. Twine in a next workflow step. Similarly, you can append any actions, and do with the wheel files what you want. In the current version (v0.2.2), the wheels are placed in the wheelhouse directory.

For example, you can use the upload-artifact action, as you suggested, by adding this step:

- uses: actions/upload-artifact@v2-preview
  with:
    name: wheels
    path: wheelhouse/*.whl

Note: wildcard support has been added in v2 of the upload-artifact action, which is still in preview: actions/upload-artifact#11 (comment).

You can also choose to use an action to upload to a private repository, or an FTP server.

@RalfG RalfG closed this as completed Apr 25, 2020
@RalfG RalfG added the question Further information is requested label Apr 25, 2020
@rcarcasses
Copy link
Author

@RalfG thanks for your reply, I'll give a try to your advice.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants