Unverified Commit c0f08099 authored by Luca Palmieri's avatar Luca Palmieri Committed by GitHub
Browse files

Fix CI job. (#2146)

parent e8fcd45f
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -12,7 +12,7 @@ concurrency:
env:
  rust_version: 1.62.1

name: Release smithy-rs
name: Claim unpublished crate names on crates.io
run-name: ${{ github.workflow }}
on:
  # It runs daily, but it can also be triggered on demand.
@@ -70,12 +70,11 @@ jobs:
        token: ${{ secrets.RELEASE_AUTOMATION_BOT_PAT }}
    - name: Publish to crates.io
      shell: bash
      working-directory: smithy-rs-release/crates-to-publish
      env:
        RELEASE_AUTOMATION_BOT_CRATESIO_TOKEN: ${{ secrets.RELEASE_AUTOMATION_BOT_CRATESIO_TOKEN }}
      run: |
        cargo login -- "${RELEASE_AUTOMATION_BOT_CRATESIO_TOKEN}"
        cargo install --path "$(realpath ../smithy-rs/tools/publisher)"
        cargo install --path tools/publisher
        # Verify the publisher tool installed successfully
        publisher --version
        publisher claim-crate-names -y