Skip to content

Commit

Permalink
verbose to troubleshoot
Browse files Browse the repository at this point in the history
  • Loading branch information
erexer committed Oct 22, 2024
1 parent 8b0fd14 commit 38644b3
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
# This GitHub Action will only push to PyPI if the branch is tagged and then merged to main.
# Tag the branch with:
# $ git push REMOTE-NAME TAG-NAME

name: Publish Python to PyPI

on: push
# push:
# branches:
# - main

jobs:
build:
Expand Down Expand Up @@ -29,7 +36,7 @@ jobs:

# publish-to-pypi:
# name: >-
# Publish Python 🐍 distribution 📦 to PyPI
# Publish Python distribution to PyPI
# if: startsWith(github.ref, 'refs/tags/') # only publish to PyPI on tag pushes
# needs:
# - build
Expand Down Expand Up @@ -111,7 +118,8 @@ jobs:
with:
name: python-package-distributions
path: dist/
- name: Publish distribution 📦 to TestPyPI
- name: Publish distribution to TestPyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
repository-url: https://test.pypi.org/legacy/
verbose: true

0 comments on commit 38644b3

Please sign in to comment.