Skip to content

Commit 934afc9

Browse files
authored
Merge pull request #169 from GrammaticalFramework/dependabot/github_actions/dot-github/workflows/actions/download-artifact-4.1.7
Bump actions/download-artifact from 2 to 4.1.7 in /.github/workflows
2 parents 2a654c0 + 33b0bab commit 934afc9

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

.github/workflows/build-python-package.yml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
steps:
1919
- uses: actions/checkout@v1
2020

21-
- uses: actions/setup-python@v1
21+
- uses: actions/setup-python@v5
2222
name: Install Python
2323
with:
2424
python-version: '3.x'
@@ -31,6 +31,7 @@ jobs:
3131
if: startsWith(matrix.os, 'macos')
3232
run: |
3333
brew install automake
34+
brew install libtool
3435
3536
- name: Build wheels on Linux
3637
if: startsWith(matrix.os, 'macos') != true
@@ -42,12 +43,13 @@ jobs:
4243
- name: Build wheels on OSX
4344
if: startsWith(matrix.os, 'macos')
4445
env:
45-
CIBW_BEFORE_BUILD: cd src/runtime/c && glibtoolize && autoreconf -i && ./configure && make && make install
46+
CIBW_BEFORE_BUILD: cd src/runtime/c && glibtoolize && autoreconf -i && ./configure && make && sudo make install
4647
run: |
4748
python -m cibuildwheel src/runtime/python --output-dir wheelhouse
4849
49-
- uses: actions/upload-artifact@v2
50+
- uses: actions/upload-artifact@v4
5051
with:
52+
name: wheel-${{ matrix.os }}
5153
path: ./wheelhouse
5254

5355
build_sdist:
@@ -64,8 +66,9 @@ jobs:
6466
- name: Build sdist
6567
run: cd src/runtime/python && python setup.py sdist
6668

67-
- uses: actions/upload-artifact@v2
69+
- uses: actions/upload-artifact@v4
6870
with:
71+
name: wheel-source
6972
path: ./src/runtime/python/dist/*.tar.gz
7073

7174
upload_pypi:
@@ -78,16 +81,17 @@ jobs:
7881
- uses: actions/checkout@v2
7982

8083
- name: Set up Python
81-
uses: actions/setup-python@v2
84+
uses: actions/setup-python@v5
8285
with:
8386
python-version: '3.x'
8487

8588
- name: Install twine
8689
run: pip install twine
8790

88-
- uses: actions/download-artifact@v2
91+
- uses: actions/download-artifact@v4.1.7
8992
with:
90-
name: artifact
93+
pattern: wheel-*
94+
merge-multiple: true
9195
path: ./dist
9296

9397
- name: Publish

0 commit comments

Comments
 (0)