File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change 11---
22name : Setup Rust
33description : Setup Rust toolchain and Shipyard registry access
4+ branding :
5+ icon : package
6+ color : purple
7+
48inputs :
59 ssh-private-key :
610 description : PEM-encoded SSH private key for pulling the Shipyard registry index
@@ -19,6 +23,7 @@ inputs:
1923 components :
2024 description : Comma-separated list of components to be additionally installed
2125 required : false
26+
2227runs :
2328 using : composite
2429 steps :
@@ -32,15 +37,18 @@ runs:
3237 ssh-private-key : ${{ inputs.ssh-private-key }}
3338
3439 - name : Add Shipyard host key to .ssh/known_hosts
40+ shell : bash
3541 run : |
3642 mkdir -p ~/.ssh
3743 touch ~/.ssh/known_hosts
3844 ssh-keyscan ssh.shipyard.rs >> ~/.ssh/known_hosts
3945
4046 - name : Login to Shipyard registry
47+ shell : bash
4148 run : cargo login --registry ${{ inputs.registry }} ${{ inputs.token }}
4249
4350 - name : Set Cargo environment variables
51+ shell : bash
4452 run : |
4553 echo "CARGO_NET_GIT_FETCH_WITH_CLI=true" >> $GITHUB_ENV
4654 echo "CARGO_HTTP_USER_AGENT=shipyard ${{ inputs.token }}" >> $GITHUB_ENV
You can’t perform that action at this time.
0 commit comments