1
0
Fork 0
mirror of https://codeberg.org/spire/spcomp.git synced 2026-06-03 16:44:08 +02:00

copy output

This commit is contained in:
Robin Appelman 2020-02-09 22:19:16 +01:00
commit 93d1d4df0d
2 changed files with 7 additions and 1 deletions

View file

@ -13,4 +13,5 @@ runs:
image: 'Dockerfile' image: 'Dockerfile'
args: args:
- ${{ inputs.who-to-source }} - ${{ inputs.who-to-source }}
- ${{ inputs.target }} env:
OUTPUT: ${{ inputs.target }}

View file

@ -11,3 +11,8 @@ chown $(stat -c '%u' $1):$(stat -c '%g' $1) $out
if [ -d "/output" ]; then if [ -d "/output" ]; then
mv $out /output mv $out /output
fi fi
if [ ! -z "$OUTPUT" ]
then
cp /output/$out $OUTPUT
fi