@@ -52,12 +52,12 @@ Basic usage (`Cargo.toml` sits in repository root):
52
52
53
53
``` yaml
54
54
steps :
55
- - uses : actions/checkout@v2
55
+ - uses : actions/checkout@v3
56
56
- uses : actions-rs/toolchain@v1
57
57
with :
58
58
toolchain : stable
59
59
override : true
60
- - uses : katyo/publish-crates@v1
60
+ - uses : katyo/publish-crates@v2
61
61
with :
62
62
registry-token : ${{ secrets.CARGO_REGISTRY_TOKEN }}
63
63
` ` `
@@ -66,12 +66,12 @@ Advanced usage (`Cargo.toml` sits in 'packages' subdir, and you would like to sk
66
66
67
67
` ` ` yaml
68
68
steps:
69
- - uses: actions/checkout@v2
69
+ - uses: actions/checkout@v3
70
70
- uses: actions-rs/toolchain@v1
71
71
with:
72
72
toolchain: stable
73
73
override: true
74
- - uses: katyo/publish-crates@v1
74
+ - uses: katyo/publish-crates@v2
75
75
with:
76
76
path: './packages'
77
77
args: --no-verify
@@ -82,12 +82,12 @@ Preventing failing on pull requests by disabling repository consistency check:
82
82
83
83
` ` ` yaml
84
84
steps:
85
- - uses: actions/checkout@v2
85
+ - uses: actions/checkout@v3
86
86
- uses: actions-rs/toolchain@v1
87
87
with:
88
88
toolchain: stable
89
89
override: true
90
- - uses: katyo/publish-crates@v1
90
+ - uses: katyo/publish-crates@v2
91
91
with:
92
92
dry-run: true
93
93
check-repo: ${{ github.event_name == 'push' }}
@@ -97,12 +97,12 @@ Prevent failing when there is no new version to publish:
97
97
98
98
` ` ` yaml
99
99
steps:
100
- - uses: actions/checkout@v2
100
+ - uses: actions/checkout@v3
101
101
- uses: actions-rs/toolchain@v1
102
102
with:
103
103
toolchain: stable
104
104
override: true
105
- - uses: katyo/publish-crates@v1
105
+ - uses: katyo/publish-crates@v2
106
106
with:
107
107
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}
108
108
ignore-unpublished-changes: true
0 commit comments