Skip to content

v0.5.0

v0.5.0 #2

Workflow file for this run

name: Release
on:
workflow_dispatch:
release:
types: [published]
jobs:
tests:
uses: vemonet/rdflib-endpoint/.github/workflows/test.yml@main
secrets: inherit
publish:
needs: tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install dependencies
run: |
pip install build
# - name: Bump version to ${{github.ref_name}}
# run: |
# hatch version "${{github.ref_name}}"
- name: Build package
run: python -m build
- name: Publish package
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}