Skip to content

Add dataloader_kwargs support in DataConfig #842

Add dataloader_kwargs support in DataConfig

Add dataloader_kwargs support in DataConfig #842

Workflow file for this run

name: PyPI Release
on:
push:
branches: [main]
tags: ["v?[0-9]+.[0-9]+.[0-9]+"]
pull_request:
branches: [main]
release:
types: [published]
jobs:
# based on https://github.com/pypa/gh-action-pypi-publish
release-pkg:
runs-on: ubuntu-20.04
timeout-minutes: 10
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
- name: Set up Python 🐍
uses: actions/setup-python@v5
with:
python-version: 3.8
- name: Create package 📦
run: |
pip install "twine==5.1.1" setuptools wheel
python setup.py sdist bdist_wheel
ls -lh dist/
twine check dist/*
- name: Upload to release
if: github.event_name == 'release'
uses: AButler/[email protected]
with:
files: "dist/*"
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Publish distribution 📦 to PyPI
if: startsWith(github.event.ref, 'refs/tags') || github.event_name == 'release'
uses: pypa/[email protected]
with:
user: __token__
password: ${{ secrets.pypi_password }}