Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix install #46

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 13 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,20 @@ jobs:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
source $HOME/.cargo/env
pip install setuptools-rust
python setup.py sdist
CIBW_ENVIRONMENT: |
PATH="/usr/local/bin:$HOME/.cargo/bin:$PATH"
CARGO_NET_GIT_FETCH_WITH_CLI=true
run: cibuildwheel --output-dir dist

- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
name: artifacts-${{ matrix.os }}
path: |
dist/*.whl
dist/*.tar.gz

- name: Upload wheel artifacts
uses: actions/upload-artifact@v3
with:
Expand All @@ -66,20 +75,21 @@ jobs:

publish-wheels:
needs: publish-python
name: Publish Python wheels
name: Publish Python wheels and sdist
timeout-minutes: 10
runs-on: ubuntu-latest

steps:
- name: Download all wheels
- name: Download all artifacts
uses: actions/download-artifact@v3
with:
path: dist

- name: Move wheels to dist directory
- name: Move artifacts to dist directory
run: |
mkdir -p final_dist
find dist -name "*.whl" -exec mv {} final_dist/ \;
find dist -name "*.tar.gz" -exec mv {} final_dist/ \;

- name: Publish package
uses: pypa/gh-action-pypi-publish@release/v1
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ resolver = "2"

[workspace.package]

version = "0.2.3"
version = "0.2.33"
authors = ["Wesley Maa <[email protected]>", "Pawel Budzianowski <[email protected]>", "Benjamin Bolte <[email protected]>"]
edition = "2021"
description = "Actuator package"
Expand Down
Loading