Skip to content

Commit

Permalink
Upload to pypi
Browse files Browse the repository at this point in the history
Added a section in the build script to upload to pypi
Skip if ubuntu because this fails uploading to pypi
  • Loading branch information
gentlegiantJGC committed Aug 29, 2023
1 parent 84ef7c0 commit adfdcb3
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/python-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,15 @@ jobs:
pip install --upgrade pip
pip install setuptools wheel twine pyinstaller~=5.6 build
- name: Build and publish to PyPi
if: matrix.cfg.os != 'ubuntu-latest'
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.AMULET_EDITOR_PYPI_PASSWORD }}
run: |
build -C--build-option=--freeze-first=True
twine upload dist/amulet[_-]editor* --skip-existing
- name: Install Ubuntu dependencies
if: matrix.cfg.os == 'ubuntu-latest'
run: |
Expand Down

0 comments on commit adfdcb3

Please sign in to comment.