Skip to content

Commit

Permalink
Updated workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mchrisgm committed Dec 10, 2023
1 parent d68a41b commit 3e4a727
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 29 deletions.
57 changes: 29 additions & 28 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -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: >-
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3e4a727

Please sign in to comment.