mirror of
https://codeberg.org/spire/spcomp.git
synced 2026-06-03 16:44:08 +02:00
copy output
This commit is contained in:
parent
ce9514fffa
commit
93d1d4df0d
2 changed files with 7 additions and 1 deletions
|
|
@ -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 }}
|
||||||
|
|
@ -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
|
||||||
Loading…
Add table
Add a link
Reference in a new issue