Skip to content

Commit 2e85eac

Browse files
author
Mark Moberts
committed
fix: update release workflow and remove unnecessary tar.gz from .gitignore
1 parent 261e9ca commit 2e85eac

2 files changed

Lines changed: 15 additions & 4 deletions

File tree

.github/workflows/release.yml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,25 @@ jobs:
99
pypi-publish:
1010
name: upload release to PyPI
1111
runs-on: ubuntu-latest
12-
# Specifying a GitHub environment is optional, but strongly encouraged
1312
environment: pypi
1413
permissions:
15-
# IMPORTANT: this permission is mandatory for Trusted Publishing
1614
id-token: write
1715
steps:
18-
# retrieve your distributions here
16+
- name: Check out repository
17+
uses: actions/checkout@v3
18+
19+
- name: Set up Python
20+
uses: actions/setup-python@v4
21+
with:
22+
python-version: '3.x'
23+
24+
- name: Install build dependencies
25+
run: |
26+
python -m pip install --upgrade pip
27+
pip install build wheel
28+
29+
- name: Build package
30+
run: python -m build
1931

2032
- name: Publish package distributions to PyPI
2133
uses: pypa/gh-action-pypi-publish@release/v1

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ interactive_console_output.xml
2121

2222
#python files
2323
*.egg-info
24-
*.tar.gz
2524
venv/*
2625

2726
# other

0 commit comments

Comments
 (0)