Skip to content

Commit

Permalink
Changed branch name
Browse files Browse the repository at this point in the history
  • Loading branch information
afonsoc12 committed Apr 5, 2021
1 parent cbc6c5c commit d39775c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:

pypi:
name: Builds python distribution, publishes to TestPyPI
if: ${{ github.ref == 'refs/heads/main' && startsWith( github.ref, 'refs/tags/v' ) }}
if: ${{ github.ref == 'refs/heads/master' && startsWith( github.ref, 'refs/tags/v' ) }}
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down Expand Up @@ -42,7 +42,7 @@ jobs:
docker:
name: Builds docker image and pushes to Docker Hub
if: ${{ github.ref == 'refs/heads/main' && startsWith( github.ref, 'refs/tags/v' ) }}
if: ${{ github.ref == 'refs/heads/master' && startsWith( github.ref, 'refs/tags/v' ) }}
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@ jobs:
run: |
python -m pip install build --user
python -m build --sdist --wheel --outdir dist/ .
ls -alh
ls -alh build/
ls -alh dist/
- name: Publish distribution 📦 to PyPI
uses: pypa/gh-action-pypi-publish@master
with:
Expand Down

0 comments on commit d39775c

Please sign in to comment.