-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathaction.yml
More file actions
26 lines (22 loc) · 779 Bytes
/
action.yml
File metadata and controls
26 lines (22 loc) · 779 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
name: 'shellkit_copy'
description: 'copy shellkit bash tools to a standard /opt/shellkit location'
runs:
using: "composite"
steps:
- name: adjust the path to include the actions path so scripts in the action can be run
run: echo "${{ github.action_path }}" >> $GITHUB_PATH
shell: bash
- name: asdf cache
uses: actions/cache@v3
with:
path: ~/.asdf
key: ${{ runner.os }}|${{ hashFiles('**/.tool-versions') }}
restore-keys: |
${{ runner.os }}-asdf-
- name: copy shellkit into a standard path on the github runners
run: |
mkdir -p /opt/shellkit
ls -la ${{ github.action_path }}
cp -r ${{ github.action_path }}/* /opt/shellkit/
ls -la /opt/shellkit/
shell: bash