We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10de0dd commit dbf0a9aCopy full SHA for dbf0a9a
.github/workflows/main.yml
@@ -19,8 +19,10 @@ jobs:
19
curl https://sh.rustup.rs | sh -s -- -y --default-toolchain=nightly
20
echo "##[add-path]$HOME/.cargo/bin"
21
- run: cargo build
22
- - run: echo "[registry]\ntoken =\"${{ secrets.CRATESIO_TOKEN }}\"" >> $HOME/.cargo/credentials
23
- name: Configure crates.io token
+ - name: Configure crates.io token
+ run: |
24
+ echo "[registry]" >> $HOME/.cargo/credentials
25
+ echo "token = \"${{ secrets.CRATESIO_TOKEN }}\"" >> $HOME/.cargo/credentials
26
- run: cargo run
27
if: github.event_name != 'pull_request'
28
0 commit comments