Skip to content

Commit

Permalink
Rework publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
CoMPaTech committed Dec 24, 2023
1 parent 9a9b33f commit c7e4a13
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,14 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: ${{ env.DEFAULT_PYTHON }}
- name: Build a distribution
- name: Install pypa/build
run: >-
python setup.py sdist
python3 -m
pip install
build
--user
- name: Build a binary wheel and a source tarball
run: python3 -m build
- name: Publish distribution 📦 to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -360,9 +360,14 @@ jobs:
run: |
echo "Failed to restore Python virtual environment from cache"
exit 1
- name: Build a distribution
- name: Install pypa/build
run: >-
python setup.py sdist
python3 -m
pip install
build
--user
- name: Build a binary wheel and a source tarball
run: python3 -m build
- name: Publish distribution 📦 to Test PyPI
uses: pypa/gh-action-pypi-publish@release/v1
continue-on-error: true
Expand Down

0 comments on commit c7e4a13

Please sign in to comment.