Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/pip/pluggy-1.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
carlkidcrypto authored Feb 1, 2024
2 parents 8b7d990 + 6b85ed0 commit 849d905
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 4 deletions.
25 changes: 23 additions & 2 deletions .github/workflows/build_and_publish_to_pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- uses: actions/upload-artifact@v4
with:
name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}
path: ./wheelhouse/*.whl
path: wheelhouse/*.whl

build-n-publish-pypi:
name: Build and Publish To PyPi
Expand All @@ -45,12 +45,33 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: "3.10"

- name: Set up dependencies
uses: carlkidcrypto/[email protected]
with:
linux: sudo apt-get update;
sudo apt-get install -y libsnmp-dev libperl-dev;

- name: Install pypa/build
run: >-
python -m
pip install
build
--user
- name: Build a source tarball
run: >-
python -m
build
--sdist
--outdir dist/
.
- name: Download Wheels
uses: actions/download-artifact@v4
with:
pattern: cibw-wheels-*
merge-multiple: false
merge-multiple: true
path: dist/

- name: Publish distribution 📦 to Test PyPI
Expand Down
25 changes: 23 additions & 2 deletions .github/workflows/build_and_publish_to_test_pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- uses: actions/upload-artifact@v4
with:
name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}
path: ./wheelhouse/*.whl
path: wheelhouse/*.whl

build-n-publish-test-pypi:
name: Build and Publish To Test PyPi
Expand All @@ -45,12 +45,33 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: "3.10"

- name: Set up dependencies
uses: carlkidcrypto/[email protected]
with:
linux: sudo apt-get update;
sudo apt-get install -y libsnmp-dev libperl-dev;

- name: Install pypa/build
run: >-
python -m
pip install
build
--user
- name: Build a source tarball
run: >-
python -m
build
--sdist
--outdir dist/
.
- name: Download Wheels
uses: actions/download-artifact@v4
with:
pattern: cibw-wheels-*
merge-multiple: false
merge-multiple: true
path: dist/

- name: Publish distribution 📦 to Test PyPI
Expand Down

0 comments on commit 849d905

Please sign in to comment.