Skip to content

Commit 3adfbcd

Browse files
author
Atsushi Abe
committed
Handle an argument
1 parent 9803702 commit 3adfbcd

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FROM centos:centos7
22

3-
RUN yum -y update && yum -y upgrade && yum -y install automake autoconf libtool icu libicu-devel libxml2-devel libuuid-devel fuse-devel net-snmp-devel
3+
RUN yum -y update && yum -y upgrade && yum -y install automake autoconf libtool make icu libicu-devel libxml2-devel libuuid-devel fuse-devel net-snmp-devel
44

55
COPY entrypoint.sh /entrypoint.sh
66

action.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
# action.yml
2-
name: 'Hello World'
3-
description: 'Greet someone and record the time'
2+
name: 'Build Check'
3+
description: 'Build check of the LTFS package'
44
inputs:
5-
who-to-greet: # id of input
6-
description: 'Who to greet'
5+
destination: # id of input
6+
description: 'destination directory'
77
required: true
8-
default: 'World'
8+
default: '/tmp/ltfs'
99
outputs:
1010
time: # id of output
11-
description: 'The time we greeted you'
11+
description: 'Finish build check of the LTFS package'
1212
runs:
1313
using: 'docker'
1414
image: 'Dockerfile'
1515
args:
16-
- ${{ inputs.who-to-greet }}
16+
- ${{ inputs.destination }}

entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/sh -l
22

33
./autogen.sh
4-
./configure --prefix=/tmp/ltfs
4+
./configure --prefix=$1
55
make
66
make install

0 commit comments

Comments
 (0)