summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornicolargo <nicolas@nicolargo.com>2021-04-20 10:19:37 +0200
committernicolargo <nicolas@nicolargo.com>2021-04-20 10:19:37 +0200
commita244cd3dfc05105cad5c5246edc8c1edcce836c3 (patch)
tree0365887a607376e16288788f22a140aec9183629
parentc80772a160029ae5a6c795b47d7e383d3e6c8eb4 (diff)
Correct Pypi CI pipeline
-rw-r--r--.github/workflows/main.yml7
1 files changed, 3 insertions, 4 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index e281a2ad..47a3f4b4 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -88,8 +88,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- - name: Install pip
- if: github.event_name == 'push'
+ - uses: actions/checkout@v2
+
+ - name: Install pip install build tools
run: >-
python -m
pip install
@@ -97,7 +98,6 @@ jobs:
--user
- name: Build a binary wheel and a source tarball
- if: github.event_name == 'push'
run: >-
python -m
build
@@ -106,7 +106,6 @@ jobs:
--outdir dist/
- name: Publish distribution package to Test PyPI
- if: github.event_name == 'push'
uses: pypa/gh-action-pypi-publish@master
with:
user: ${{ secrets.PYPI_USERNAME }}