Skip to content

Commit 71853c8

Browse files
committed
Update README
1 parent bd498e7 commit 71853c8

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,12 @@ Basic usage (`Cargo.toml` sits in repository root):
5252

5353
```yaml
5454
steps:
55-
- uses: actions/checkout@v2
55+
- uses: actions/checkout@v3
5656
- uses: actions-rs/toolchain@v1
5757
with:
5858
toolchain: stable
5959
override: true
60-
- uses: katyo/publish-crates@v1
60+
- uses: katyo/publish-crates@v2
6161
with:
6262
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}
6363
```
@@ -66,12 +66,12 @@ Advanced usage (`Cargo.toml` sits in 'packages' subdir, and you would like to sk
6666

6767
```yaml
6868
steps:
69-
- uses: actions/checkout@v2
69+
- uses: actions/checkout@v3
7070
- uses: actions-rs/toolchain@v1
7171
with:
7272
toolchain: stable
7373
override: true
74-
- uses: katyo/publish-crates@v1
74+
- uses: katyo/publish-crates@v2
7575
with:
7676
path: './packages'
7777
args: --no-verify
@@ -82,12 +82,12 @@ Preventing failing on pull requests by disabling repository consistency check:
8282

8383
```yaml
8484
steps:
85-
- uses: actions/checkout@v2
85+
- uses: actions/checkout@v3
8686
- uses: actions-rs/toolchain@v1
8787
with:
8888
toolchain: stable
8989
override: true
90-
- uses: katyo/publish-crates@v1
90+
- uses: katyo/publish-crates@v2
9191
with:
9292
dry-run: true
9393
check-repo: ${{ github.event_name == 'push' }}
@@ -97,12 +97,12 @@ Prevent failing when there is no new version to publish:
9797

9898
```yaml
9999
steps:
100-
- uses: actions/checkout@v2
100+
- uses: actions/checkout@v3
101101
- uses: actions-rs/toolchain@v1
102102
with:
103103
toolchain: stable
104104
override: true
105-
- uses: katyo/publish-crates@v1
105+
- uses: katyo/publish-crates@v2
106106
with:
107107
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}
108108
ignore-unpublished-changes: true

0 commit comments

Comments
 (0)