From f4f844dd825ac31920ba63435382ed8117765c99 Mon Sep 17 00:00:00 2001 From: Dave Dittrich Date: Thu, 3 Oct 2024 17:48:37 -0700 Subject: [PATCH] Fix indentation --- .github/workflows/build.yaml | 15 +++++++------- .github/workflows/publish.yaml | 38 +++++++++++++++++----------------- 2 files changed, 26 insertions(+), 27 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 06d153e..6d6eaa5 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -13,7 +13,6 @@ jobs: env: PY_COLORS: 1 PYTHON_VERSION: '3.12.6' - steps: - name: Dump select GitHub event context run: | @@ -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/* diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index fc7901f..984c48c 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -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]