Skip to content

Update nightly releases in Github #1049

Update nightly releases in Github

Update nightly releases in Github #1049

Workflow file for this run

name: Publish tfds-nightly to PyPI
on:
# Event triggered daily at 00:30 am UTC
schedule:
- cron: '30 0 * * *'
# Event manually triggered (in the Github UI)
workflow_dispatch:
inputs:
git-ref:
description: Git ref (e.g. SHA or tag) (Optional)
default: ""
required: false
pull_request:
branches:
- 'master'
jobs:
publish-job:
# Prevents action from running on forks.
if: github.repository == 'tensorflow/datasets'
runs-on: ubuntu-latest
steps:
- name: Publish the package
uses: etils-actions/pypi-auto-publish@v1
with:
pypi-token: ${{ secrets.NIGHTLY_PYPI_PASSWORD }}
gh-token: ${{ secrets.GITHUB_TOKEN }}
parse-changelog: true
pkg-name: tfds-nightly
git-ref: ${{ github.event.inputs.git-ref }}