Skip to content

Commit

Permalink
Merge pull request #62 from tommilligan/ci-publish-fixup
Browse files Browse the repository at this point in the history
ci: fixup config for publish workflow
  • Loading branch information
tommilligan committed Mar 4, 2021
2 parents f98b2d1 + e607be5 commit ed08b32
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
~/.cargo/bin
cargo_target
# We reuse the cache from our detailed test environment, if available
key: detailed-test-{{ runner.os }}-cargo-${{ hashFiles('Cargo.toml') }}
key: detailed-test-${{ runner.os }}-cargo-${{ hashFiles('Cargo.toml') }}
- name: Install toolchain
uses: actions-rs/toolchain@v1
with:
Expand Down
5 changes: 5 additions & 0 deletions scripts/publish
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,10 @@

set -euxo pipefail

# Don't log the cargo login token while authenticating
set +x
echo "cargo login ***********************************"
cargo login "${CARGO_LOGIN_TOKEN}"
set -x

cargo publish

0 comments on commit ed08b32

Please sign in to comment.