generated from takahiro-itou/hello-world-composite-action-test
-
Notifications
You must be signed in to change notification settings - Fork 1
47 lines (38 loc) · 1.12 KB
/
main.yml
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name : Install CppUnit Test
on :
push :
branches : [ "master", "develop" ]
jobs :
install_cppunit_job:
runs-on : ubuntu-latest
name : install CppUnit
strategy :
fail-fast : false
matrix :
with-cppunit :
- no
- ${HOME}/tools/cppunit
- tools/cppunit
steps :
- uses : actions/checkout@v4
- name : Print Install Dir
run : |
echo "workspace = ${{ github.workspace }}"
echo "target = ${{ matrix.with-cppunit }}"
sudo mkdir -p /tools
ls /
shell : bash
- name : Install CppUnit
id : install-cppunit
uses : takahiro-itou/install-cppunit-action@develop
with :
install-prefix : "${{ matrix.with-cppunit }}"
- name : Post-Show Workspace
run : |
pwd
echo "${{ github.workspace }}"
echo "${{ steps.install-cppunit.outputs.real-install-dir }}"
if [[ "X${{ matrix.with-cppunit }}Y" != 'XnoY' ]] ; then
ls -lR "${{ steps.install-cppunit.outputs.real-install-dir }}"
fi
shell : bash