Skip to content
Merged
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
18 changes: 2 additions & 16 deletions .github/workflows/release-libs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,32 +11,18 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
workspace: [protocols, utils]
workspace: [protocols, utils,common]
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true

- name: Login
run: cargo login ${{ secrets.CRATES_IO_DEPLOY_KEY }}

- name: Install cargo-release
run: cargo install cargo-release
- name: Publish crates from ${{ matrix.workspace }}
run: |
cd ${{ matrix.workspace }}
cargo release -x
common_publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- name: Publish standalone crate
run: |
cd ./common
cargo release -x
cargo release -x --all-features --no-confirm