mirror of
https://codeberg.org/spire/spcomp.git
synced 2026-06-03 08:34:12 +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'
|
||||
args:
|
||||
- ${{ 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
|
||||
mv $out /output
|
||||
fi
|
||||
|
||||
if [ ! -z "$OUTPUT" ]
|
||||
then
|
||||
cp /output/$out $OUTPUT
|
||||
fi
|
||||
Loading…
Add table
Add a link
Reference in a new issue