Skip to content

Commit

Permalink
add publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
yogh333 committed Dec 5, 2023
1 parent a1f124e commit d5b2926
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Rust
name: Run cargo clippy, cargo fmt, build and Unit+Integration tests

on:
push:
Expand Down
24 changes: 24 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Publishing packages on crates.io

on:
workflow_dispatch:
inputs:
name:
description: 'Manually triggered'
jobs:
publish:
name: Publish ledger_device_sdk
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- uses: katyo/publish-crates@v2
with:
args: -p ledger_device_sdk --no-verify
dry-run: true



0 comments on commit d5b2926

Please sign in to comment.