Skip to content

Commit

Permalink
ci: Fix tagged release
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviermartin committed Feb 22, 2024
1 parent 13bd692 commit 860f7f5
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ jobs:
if: startsWith(github.ref, 'refs/tags/')
env:
CIBW_BEFORE_BUILD_LINUX: "sh ci/install-bluez.sh"
GATTLIB_PY_VERSION: '${{github.ref_name}}'
CIBW_ENVIRONMENT_PASS_LINUX: "GATTLIB_PY_VERSION"
#TODO: To support 'musllinux', we need to replace 'yum install' by 'apk install' - and detect which platform we are
CIBW_SKIP: "*-musllinux_*"
- run: ./ci/generate-python-package.sh
Expand Down Expand Up @@ -72,10 +74,9 @@ jobs:
steps:
- uses: actions/download-artifact@master
- run: |
ls *
mkdir dist/
mv python-3.10-binary-package/*.tar.gz dist/
mv python-*-binary-package/*.whl dist/
mv python-binary-packages/*.tar.gz dist/
mv python-binary-packages/*.whl dist/
ls dist/*
- name: Publish distribution 📦 to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
Expand Down

0 comments on commit 860f7f5

Please sign in to comment.