Skip to content

Commit

Permalink
fix: added build step
Browse files Browse the repository at this point in the history
  • Loading branch information
raphael-goetz committed Aug 21, 2024
1 parent 8839ccd commit 66445b5
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,11 @@ jobs:
run: sed -i "s/version = \"0.0.0\"/version = \"${{ github.ref_name }}\"/" Cargo.toml
- name: Cargo Login
run: cargo login ${{secrets.CARGO_REGISTRY_TOKEN}}
- name: Build crate
run: PATH=${{ runner.temp }}/proto/bin:$PATH cargo build
env:
RUST_BACKTRACE: 'full'

# Release
- name: Publish crate
run: PATH=${{ runner.temp }}/proto/bin:$PATH cargo publish --allow-dirty
env:
RUST_BACKTRACE: 'full'
run: cargo publish --allow-dirty

0 comments on commit 66445b5

Please sign in to comment.