Skip to content

Commit

Permalink
Update publish yml file
Browse files Browse the repository at this point in the history
  • Loading branch information
nbouziani committed Jan 21, 2024
1 parent 3e14805 commit 8d222ae
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,13 @@ jobs:
build:
name: Build distribution 📦
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]

container:
image: firedrakeproject/firedrake-vanilla:latest
options: --user root

steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
python-version: "3.x"
- name: Install pypa/build
shell: bash -l {0}
run: >-
Expand All @@ -38,9 +31,7 @@ jobs:
--user
- name: Build a binary wheel and a source tarball
shell: bash -l {0}
run: |
python3 -m pip install numpy cython petsc petsc4py
python3 -m build
run: python3 -m build
- name: Store the distribution packages
uses: actions/upload-artifact@v3
with:
Expand Down

0 comments on commit 8d222ae

Please sign in to comment.