Skip to content

This action is used to upload nightly builds of your package.

License

Notifications You must be signed in to change notification settings

betatim/upload-nightly-action

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nightly uplolad.

This provide a standard action to upload nightly updates to the scientific-python nightly channel.

In your Continuous Intregration pipeline once you've built you wheel, you can use the following snippet to upload to our central nightly repository:

jobs:
  steps:
    ...
    - name: Upload wheel
      uses: scientific-python/upload-nightly-action@main
      with:
        artifacts_path: dist
        anaconda_nightly_upload_token: ${{secrets.UPLOAD_TOKEN}}

To request access to the repository please open and issue on this action repository, you can generate a token at https://anaconda.org/<username>/settings/access ... chck minimum permissions and set it in github tokens secrets.

using nightly builds in CI.

To test those nightly build, you can use the following command to install from the nightly package.

python -m pip install matplotlib -i https://pypi.org/simple  -i https://pypi.anaconda.org/scientific-python-nightly-wheels/simple  --upgrade --pre

Note that second -i parameter will take priority, it needs to come second if you want to pull from nightly otherwise it will pull from pypi.

if package in nightly:
   try to install from nightly
else:
   try to install from pypi

About

This action is used to upload nightly builds of your package.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 89.4%
  • Dockerfile 10.6%