Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
katyo committed Jan 27, 2023
1 parent bd498e7 commit 71853c8
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,12 @@ Basic usage (`Cargo.toml` sits in repository root):

```yaml
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- uses: katyo/publish-crates@v1
- uses: katyo/publish-crates@v2
with:
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}
```
Expand All @@ -66,12 +66,12 @@ Advanced usage (`Cargo.toml` sits in 'packages' subdir, and you would like to sk

```yaml
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- uses: katyo/publish-crates@v1
- uses: katyo/publish-crates@v2
with:
path: './packages'
args: --no-verify
Expand All @@ -82,12 +82,12 @@ Preventing failing on pull requests by disabling repository consistency check:

```yaml
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- uses: katyo/publish-crates@v1
- uses: katyo/publish-crates@v2
with:
dry-run: true
check-repo: ${{ github.event_name == 'push' }}
Expand All @@ -97,12 +97,12 @@ Prevent failing when there is no new version to publish:

```yaml
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- uses: katyo/publish-crates@v1
- uses: katyo/publish-crates@v2
with:
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}
ignore-unpublished-changes: true
Expand Down

0 comments on commit 71853c8

Please sign in to comment.