Sign in
apache
/
grails-github-actions
/
refs/heads/main
/
.
/
export-gradle-properties
/
entrypoint.sh
blob: 417bbe1162416dc079773b015a9808034ae9294b [
file
] [
log
] [
blame
]
#!/bin/bash
# $1 == file
set
-
e
while
read
-
r line
do
if
[[
"$line"
==
*
"="
*
]];
then
key
=
`echo $line | cut -d \= -f 1`
value
=
`echo $line | cut -d \= -f 2`
echo
"$key"
echo
"$value"
echo
"$key=$value"
>>
$GITHUB_ENV
fi
done
<
$1
exit $
?