Skip to content

Commit

Permalink
workflow publish
Browse files Browse the repository at this point in the history
  • Loading branch information
rming committed Apr 28, 2024
1 parent 73e6e5b commit 761f844
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Publish to Cargo

on:
push:
branches: [dev]

jobs:
publish:
runs-on: ubuntu-latest
name: "publish"
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- uses: katyo/publish-crates@v2
with:
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}
path: "./dify-client"
args: --no-verify
dry-run: true

0 comments on commit 761f844

Please sign in to comment.