Skip to content

Commit

Permalink
CI: Publish fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
fpaschos committed Oct 31, 2023
1 parent b5a8509 commit 082b2cd
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,11 @@ jobs:
# CARGO_REGISTRY_TOKEN: ${{ secrets.crates_io_token }}

## TODO conditional build.rs for feature protobuf and prost
- name: Install protoc
uses: taiki-e/install-action@v2
with:
tool: protoc@${{ env.PROTOC_VERSION }}

- name: Dry run publish proto-mapper
run: cargo publish --dry-run --manifest-path Cargo.toml -p proto-mapper --features protobuf
run: cargo publish --no-verify --dry-run --manifest-path Cargo.toml -p proto-mapper

- name: Publish crate proto-mapper
run: cargo publish --manifest-path Cargo.toml -p proto-mapper --features protobuf
run: cargo publish --no-verify --manifest-path Cargo.toml -p proto-mapper
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.crates_io_token }}

0 comments on commit 082b2cd

Please sign in to comment.