Skip to content

Commit 9c99bda

Browse files
authored
Update build_wheels_and_publish.yml
remove the cibuildwheel environment variables and updating action versions
1 parent 1af3ab0 commit 9c99bda

File tree

1 file changed

+5
-15
lines changed

1 file changed

+5
-15
lines changed

.github/workflows/build_wheels_and_publish.yml

+5-15
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,7 @@ on:
44
release:
55
types: [published]
66
workflow_dispatch:
7-
87

9-
env:
10-
CIBW_BUILD: "cp39-* cp310-*"
11-
CIBW_SKIP: "*-win32 *musllinux*"
12-
CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014
13-
CIBW_ARCHS_MACOS: "x86_64 arm64"
14-
CIBW_BEFORE_BUILD: pip install numpy --config-settings=setup-args="-Dallow-noblas=true"
15-
CIBW_BUILD_VERBOSITY: "1"
16-
CIBW_ENVIRONMENT_MACOS: "FC=gfortran"
17-
CIBW_TEST_COMMAND: pytest src/cosmic
188

199
jobs:
2010
build-wheels-and-dist:
@@ -58,11 +48,11 @@ jobs:
5848
find ./dist/*.whl | xargs pip install
5949
pytest src/cosmic
6050
61-
- uses: actions/upload-artifact@v3
51+
- uses: actions/upload-artifact@v4
6252
with:
6353
path: ./dist/*.tar.gz
6454

65-
- uses: actions/upload-artifact@v3
55+
- uses: actions/upload-artifact@v4
6656
with:
6757
path: ./dist/*.whl
6858

@@ -76,14 +66,14 @@ jobs:
7666
python-version: ["3.10"]
7767

7868
steps:
79-
- uses: actions/checkout@v2
69+
- uses: actions/checkout@v4
8070
- name: Set up Python ${{ matrix.python-version }}
81-
uses: actions/setup-python@v2
71+
uses: actions/setup-python@v4
8272
with:
8373
python-version: ${{ matrix.python-version }}
8474

8575
- name: Download builds
86-
uses: actions/download-artifact@v4.1.7
76+
uses: actions/download-artifact@v4
8777
with:
8878
name: artifact
8979
path: dist

0 commit comments

Comments
 (0)