Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
jjjermiah committed Dec 16, 2023
1 parent ef91e27 commit 5919b9c
Showing 1 changed file with 29 additions and 2 deletions.
31 changes: 29 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,8 @@ jobs:
run: poetry run make html --directory docs/

Continuous-Deployment:
needs: Continuous-Integration
# needs: Continuous-Integration

# if pulling to main, deploy to PyPI
if: github.ref == 'refs/heads/main'

# Set up operating system
Expand Down Expand Up @@ -76,6 +75,34 @@ jobs:
with:
github_token: ${{ secrets.GITHUB_TOKEN }}

Publish-Package:
needs: Continuous-Deployment

# if pulling to main, deploy to PyPI
if: github.ref == 'refs/heads/main'


# Set up operating system
runs-on: ubuntu-latest

# Define job steps
steps:
- name: Set up Python 3.12
uses: actions/setup-python@v2
with:
python-version: 3.12

- name: Check-out repository
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Install poetry
uses: snok/install-poetry@v1

- name: Install package
run: poetry install

- name: Build package
run: poetry build

Expand Down

0 comments on commit 5919b9c

Please sign in to comment.