diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 6be4961..40e67ba 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,33 +1,34 @@ -# name: Publish to PyPi -# on: -# push: -# branches: -# - main +name: Publish to PyPi -# jobs: -# build: -# name: Build distribution -# runs-on: ubuntu-latest +on: + push: + branches: + - main -# steps: -# - uses: actions/checkout@v4 -# - name: Set up Python -# uses: actions/setup-python@v4 -# with: -# python-version: "3.10" -# - name: Install pypa/build -# run: >- -# python3 -m -# pip install -# build -# --user -# - name: Build a binary wheel and a source tarball -# run: python3 -m build -# - name: Store the distribution packages -# uses: actions/upload-artifact@v3 -# with: -# name: python-package-distributions -# path: dist/ +jobs: + build: + name: Build distribution + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - name: Set up Python + uses: actions/setup-python@v4 + with: + python-version: "3.10" + - name: Install pypa/build + run: >- + python3 -m + pip install + build + --user + - name: Build a binary wheel and a source tarball + run: python3 -m build + - name: Store the distribution packages + uses: actions/upload-artifact@v3 + with: + name: python-package-distributions + path: dist/ # publish-to-pypi: # name: >- diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index 1ecccab..d08b6fe 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -47,7 +47,7 @@ jobs: - run: python3 -m pip install -e . - - run: python -m sphinx ./docs/doc_conf docs + - run: python -m sphinx-build ./docs/doc_conf docs - name: Deploy uses: peaceiris/actions-gh-pages@v3