mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-24 02:12:50 -06:00
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
This commit is contained in:
18
.github/workflows/build-python-package.yml
vendored
18
.github/workflows/build-python-package.yml
vendored
@@ -18,7 +18,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
|
|
||||||
- uses: actions/setup-python@v1
|
- uses: actions/setup-python@v5
|
||||||
name: Install Python
|
name: Install Python
|
||||||
with:
|
with:
|
||||||
python-version: '3.x'
|
python-version: '3.x'
|
||||||
@@ -31,6 +31,7 @@ jobs:
|
|||||||
if: startsWith(matrix.os, 'macos')
|
if: startsWith(matrix.os, 'macos')
|
||||||
run: |
|
run: |
|
||||||
brew install automake
|
brew install automake
|
||||||
|
brew install libtool
|
||||||
|
|
||||||
- name: Build wheels on Linux
|
- name: Build wheels on Linux
|
||||||
if: startsWith(matrix.os, 'macos') != true
|
if: startsWith(matrix.os, 'macos') != true
|
||||||
@@ -42,12 +43,13 @@ jobs:
|
|||||||
- name: Build wheels on OSX
|
- name: Build wheels on OSX
|
||||||
if: startsWith(matrix.os, 'macos')
|
if: startsWith(matrix.os, 'macos')
|
||||||
env:
|
env:
|
||||||
CIBW_BEFORE_BUILD: cd src/runtime/c && glibtoolize && autoreconf -i && ./configure && make && make install
|
CIBW_BEFORE_BUILD: cd src/runtime/c && glibtoolize && autoreconf -i && ./configure && make && sudo make install
|
||||||
run: |
|
run: |
|
||||||
python -m cibuildwheel src/runtime/python --output-dir wheelhouse
|
python -m cibuildwheel src/runtime/python --output-dir wheelhouse
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
|
name: wheel-${{ matrix.os }}
|
||||||
path: ./wheelhouse
|
path: ./wheelhouse
|
||||||
|
|
||||||
build_sdist:
|
build_sdist:
|
||||||
@@ -64,8 +66,9 @@ jobs:
|
|||||||
- name: Build sdist
|
- name: Build sdist
|
||||||
run: cd src/runtime/python && python setup.py sdist
|
run: cd src/runtime/python && python setup.py sdist
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
|
name: wheel-source
|
||||||
path: ./src/runtime/python/dist/*.tar.gz
|
path: ./src/runtime/python/dist/*.tar.gz
|
||||||
|
|
||||||
upload_pypi:
|
upload_pypi:
|
||||||
@@ -78,16 +81,17 @@ jobs:
|
|||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v2
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: '3.x'
|
python-version: '3.x'
|
||||||
|
|
||||||
- name: Install twine
|
- name: Install twine
|
||||||
run: pip install twine
|
run: pip install twine
|
||||||
|
|
||||||
- uses: actions/download-artifact@v2
|
- uses: actions/download-artifact@v4.1.7
|
||||||
with:
|
with:
|
||||||
name: artifact
|
pattern: wheel-*
|
||||||
|
merge-multiple: true
|
||||||
path: ./dist
|
path: ./dist
|
||||||
|
|
||||||
- name: Publish
|
- name: Publish
|
||||||
|
|||||||
Reference in New Issue
Block a user