Skip to content

Commit eeee70c

Browse files
committed
publish github action
1 parent f2382f9 commit eeee70c

File tree

3 files changed

+34
-3
lines changed

3 files changed

+34
-3
lines changed

.github/workflows/publish.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Publish sdist tarball to PyPi
2+
3+
on:
4+
push:
5+
tags:
6+
- 'v[0-9]+.[0-9]+.[0-9]+'
7+
8+
jobs:
9+
build-n-publish:
10+
11+
name: Build and publish on PyPI
12+
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
17+
- uses: actions/checkout@v4.2.0
18+
19+
- name: Set up Python 3.8
20+
uses: actions/setup-python@v5.2.0
21+
with:
22+
python-version: 3.8
23+
24+
- name: Build a source tarball
25+
run: python setup.py sdist
26+
27+
- name: Publish distribution package to PyPI
28+
uses: pypa/gh-action-pypi-publish@release/v1
29+
with:
30+
user: __token__
31+
password: ${{ secrets.PYPI_API_TOKEN }}

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Contribution Guide
22

3-
We would love for you to contribute to the kg-inference project and help make it better than it is
3+
We would love for you to contribute to the knowledge-graph-inference project and help make it better than it is
44
today.
55
As a contributor, here are the guidelines we would like you to follow:
66

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
long_description = f.read()
1010

1111
setup(
12-
name="inference_tools",
12+
name="knowledge-graph-inference",
1313
author="Blue Brain Project, EPFL",
1414
use_scm_version={
1515
"relative_to": __file__,
@@ -27,7 +27,7 @@
2727
"setuptools_scm",
2828
],
2929
install_requires=[
30-
"nexusforge@git+https://github.com/BlueBrain/nexus-forge"
30+
"nexusforge"
3131
],
3232
extras_require={
3333
"dev": [

0 commit comments

Comments
 (0)