Skip to content

Merge pull request #1 from datopian/feat/user-provide-doi #1

Merge pull request #1 from datopian/feat/user-provide-doi

Merge pull request #1 from datopian/feat/user-provide-doi #1

Workflow file for this run

name: Upload Python Package
on:
push:
tags:
- "*"
permissions:
contents: read
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@v3
with:
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build
- name: Build package
run: python -m build
- name: Publish package
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
skip_existing: true