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 310c33b commit b9cc5d4Copy full SHA for b9cc5d4
action.yml
@@ -50,5 +50,7 @@ runs:
50
- name: Set Cargo environment variables
51
shell: bash
52
run: |
53
+ registry=$(tr '[:lower:]' '[:upper:]' <<< ${{ inputs.registry }})
54
echo "CARGO_NET_GIT_FETCH_WITH_CLI=true" >> $GITHUB_ENV
- echo "CARGO_HTTP_USER_AGENT=shipyard ${{ inputs.token }}" >> $GITHUB_ENV
55
+ echo "CARGO_REGISTRIES_${registry}_TOKEN=${{ inputs.token }}" >> $GITHUB_ENV
56
+ echo "CARGO_REGISTRIES_${registry}_CREDENTIAL_HELPER=cargo:token" >> $GITHUB_ENV
0 commit comments