Skip to content

Commit 8d08fc8

Browse files
committed
Specify shell used for action steps
1 parent b1684b5 commit 8d08fc8

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

action.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
---
22
name: Setup Rust
33
description: Setup Rust toolchain and Shipyard registry access
4+
branding:
5+
icon: package
6+
color: purple
7+
48
inputs:
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+
2227
runs:
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

0 commit comments

Comments
 (0)