Skip to content

Commit

Permalink
Fix indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
davedittrich committed Oct 4, 2024
1 parent 89dfa11 commit f4f844d
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 27 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ jobs:
env:
PY_COLORS: 1
PYTHON_VERSION: '3.12.6'

steps:
- name: Dump select GitHub event context
run: |
Expand Down Expand Up @@ -52,11 +51,11 @@ jobs:
poetry dynamic-versioning
echo "VERSION=$(poetry version --short)"
- name: Build artifacts
run: make twine-check
- name: Build artifacts
run: make twine-check

- name: Store artifacts
uses: actions/upload-artifact@v4
with:
name: dist-files
path: dist/*
- name: Store artifacts
uses: actions/upload-artifact@v4
with:
name: dist-files
path: dist/*
38 changes: 19 additions & 19 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,24 +21,24 @@ jobs:
name: dist-files
path: ./dist

# [1-publish-workflow]
- name: Publish release candidate artifacts to TestPyPI
if: contains(github.ref, 'rc') == true
uses: pypa/gh-action-pypi-publish@release/v1
with:
repository_url: https://test.pypi.org/legacy/
user: __token__
password: ${{ secrets.PSEC_TEST_PYPI_PASSWORD }}
packages-dir: ./dist
verify-metadata: false
# [1-publish-workflow]
- name: Publish release candidate artifacts to TestPyPI
if: contains(github.ref, 'rc') == true
uses: pypa/gh-action-pypi-publish@release/v1
with:
repository_url: https://test.pypi.org/legacy/
user: __token__
password: ${{ secrets.PSEC_TEST_PYPI_PASSWORD }}
packages-dir: ./dist
verify-metadata: false

- name: Publish tagged artifacts to PyPI
if: contains(github.ref, 'rc') == false
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PSEC_PYPI_PASSWORD }}
packages-dir: ./dist
verify-metadata: false
# ![1-publish-workflow]
- name: Publish tagged artifacts to PyPI
if: contains(github.ref, 'rc') == false
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PSEC_PYPI_PASSWORD }}
packages-dir: ./dist
verify-metadata: false
# ![1-publish-workflow]

0 comments on commit f4f844d

Please sign in to comment.