index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Anton Hvornum <anton@hvornum.se> | 2021-05-01 12:12:10 +0200 |
---|---|---|
committer | Anton Hvornum <anton@hvornum.se> | 2021-05-01 12:12:10 +0200 |
commit | ea0d0a88174dbf7d8cad7d957ab3fd2ca00e02a4 (patch) | |
tree | 5ba03b7e2ecc37b72cb83f3a8908ab747028f695 /.github/workflows/python-publish.yml | |
parent | a7c0142099066791d48240815c47c07772f9e025 (diff) | |
parent | b58bec202ab47259d5a3855032aca70fa8f36b91 (diff) |
-rw-r--r-- | .github/workflows/python-publish.yml | 11 |
diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 09bcba55..489077b7 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -5,7 +5,7 @@ name: Upload archinstall to PyPi on: release: - types: [created] + types: [created, published] jobs: deploy: @@ -21,11 +21,10 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install setuptools wheel twine + pip install setuptools wheel flit - name: Build and publish env: - TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} - TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} + FLIT_USERNAME: ${{ secrets.PYPI_USERNAME }} + FLIT_PASSWORD: ${{ secrets.PYPI_PASSWORD }} run: | - python setup.py sdist bdist_wheel - twine upload dist/* + flit publish |