Skip to content

Commit

Permalink
publishing workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
codekansas committed Oct 31, 2024
1 parent feb3bfb commit a5518de
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,13 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install maturin build wheel
if [ "$RUNNER_OS" == "Linux" ]; then
sudo apt-get update
sudo apt-get install -y protobuf-compiler
elif [ "$RUNNER_OS" == "macOS" ]; then
brew install protobuf
fi
shell: bash

- name: Build package
run: maturin build --release --strip --out dist --manifest-path pyklang/Cargo.toml
Expand Down Expand Up @@ -86,7 +93,7 @@ jobs:
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y libudev-dev pkg-config
sudo apt-get install -y libudev-dev pkg-config protobuf-compiler
- name: Cache Cargo registry
uses: actions/cache@v2
Expand Down

0 comments on commit a5518de

Please sign in to comment.