From 82f36192ddb665982ebc4fda6f358b7439e8980e Mon Sep 17 00:00:00 2001 From: LucaMarconato <2664412+LucaMarconato@users.noreply.github.com> Date: Tue, 26 Mar 2024 00:29:11 +0100 Subject: [PATCH] Update release.yaml --- .github/workflows/release.yaml | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 8c713d27..19a6d9fd 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -9,23 +9,23 @@ jobs: # requires that you have put your twine API key in your # github secrets (see readme for details) runs-on: ubuntu-latest - if: contains(github.ref, 'tags') - steps: - - name: Checkout code - uses: actions/checkout@v3 + if: contains(github.ref, 'tags') + steps: + - name: Checkout code + uses: actions/checkout@v3 - - name: Set up Python 3.10 - uses: actions/setup-python@v4 - with: - python-version: "3.10" + - name: Set up Python 3.10 + uses: actions/setup-python@v4 + with: + python-version: "3.10" - - name: Install hatch - run: pip install hatch + - name: Install hatch + run: pip install hatch - - name: Build project for distribution - run: hatch build + - name: Build project for distribution + run: hatch build - - name: Publish a Python distribution to PyPI - uses: pypa/gh-action-pypi-publish@release/v1 - with: - password: ${{ secrets.PYPI_API_TOKEN }} + - name: Publish a Python distribution to PyPI + uses: pypa/gh-action-pypi-publish@release/v1 + with: + password: ${{ secrets.PYPI_API_TOKEN }}