Skip to content

Commit

Permalink
Use pyansys action for package build (#152)
Browse files Browse the repository at this point in the history
  • Loading branch information
greschd authored Jan 27, 2023
1 parent 2266d29 commit db405c4
Showing 1 changed file with 3 additions and 17 deletions.
20 changes: 3 additions & 17 deletions .github/workflows/ci_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -175,24 +175,10 @@ jobs:
runs-on: ubuntu-latest
needs: [doc-style, doc-build, code-style, tests, tests_minimal_version]
steps:
- name: "Checkout the project"
uses: actions/checkout@v3

- name: "Set up Python ${{ env.MAIN_PYTHON_VERSION }}"
uses: actions/setup-python@v4
- name: "Build library source and wheel artifacts"
uses: pyansys/actions/build-library@v3
with:
python-version: ${{ env.MAIN_PYTHON_VERSION }}

- name: "Install Python dependencies"
run: |
python -m pip install --upgrade pip
python -m pip install --upgrade poetry
poetry install -E build
- name: "Build library artifacts"
run: |
poetry build
poetry run python -m twine check dist/*
library-name: ${{ env.PACKAGE_NAME }}

doc-deploy-dev:
name: "Deploy development documentation"
Expand Down

0 comments on commit db405c4

Please sign in to comment.