Skip to content

Commit

Permalink
Update publish.yaml to kabab-case
Browse files Browse the repository at this point in the history
  • Loading branch information
phackstock committed May 22, 2023
1 parent b76b28f commit 63f5586
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Workflow created according to: https://packaging.python.org/en/latest/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/
name: Publish to PyPI and TestPyPI

on:
on:
push:
tags: ["v*"]
release:
Expand Down Expand Up @@ -36,7 +36,7 @@ jobs:
if: github.event_name != 'release'
with:
password: ${{ secrets.TESTPYPI_TOKEN }}
repository_url: https://test.pypi.org/legacy/
repository-url: https://test.pypi.org/legacy/
- name: Publish distribution to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
# Only run for actual release
Expand Down

0 comments on commit 63f5586

Please sign in to comment.