Skip to content

Commit

Permalink
Merge branch 'master' into cl/issue-3549
Browse files Browse the repository at this point in the history
  • Loading branch information
clearloop committed Dec 12, 2023
2 parents 7d0d0f5 + 20d413c commit b1a5907
Show file tree
Hide file tree
Showing 42 changed files with 1,011 additions and 481 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/crates-io.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@ name: Crates IO

on:
workflow_dispatch:
inputs:
publish:
description: "If publish packages"
type: boolean
default: false
pull_request:
branches: [master]

env:
CARGO_INCREMENTAL: 0
Expand All @@ -10,7 +17,7 @@ env:
TERM: xterm-256color

jobs:
publish:
check:
runs-on: ubuntu-latest
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
Expand All @@ -21,5 +28,9 @@ jobs:
- name: "Install: Rust toolchain"
uses: dsherret/rust-toolchain-file@v1

- name: "Check packages"
run: cargo run --release -p crates-io-manager check

- name: "Publish packages"
run: cargo run --release -p crates-io-manager
if: ${{ github.event_name == 'workflow_dispatch' && inputs.publish }}
run: cargo run --release -p crates-io-manager publish
Loading

0 comments on commit b1a5907

Please sign in to comment.