Skip to content

Commit a84c626

Browse files
committed
ci: update run container command action
1 parent 7ecf42d commit a84c626

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/run-container-command/action.yaml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
1-
name: run container command
1+
name: Run Container Command
22
description: |
3-
This action runs a specified command within a container using an optionally specified image.
3+
This action runs a specified command within a container using the `useink/ci` image.
44
55
inputs:
66
command:
7-
description: The command to run
7+
description: The command to be run within a container.
88
required: true
9-
output-info:
10-
description: Whether to output environment information
11-
default: 'true'
129

1310
runs:
1411
using: composite
@@ -18,6 +15,8 @@ runs:
1815
# Image can be edited at https://github.com/use-ink/docker-images
1916
uses: docker://evilrobot/useink:pr-4-stable
2017
env:
18+
# Update the target directory used within the container to one which is within the path mounted to the host
19+
# runner workspace path. Required for effective caching.
2120
CARGO_TARGET_DIR: "/github/workspace/${{ env.CARGO_TARGET_DIR }}"
2221
with:
2322
entrypoint: /bin/bash

0 commit comments

Comments
 (0)