From 71853c8aca3464d006f1e17b413ee9fe1e476e8f Mon Sep 17 00:00:00 2001 From: K Date: Fri, 27 Jan 2023 22:16:33 +0500 Subject: [PATCH] Update README --- README.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index ea1fbff..1a2cd43 100644 --- a/README.md +++ b/README.md @@ -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 }} ``` @@ -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 @@ -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' }} @@ -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