Merge branch '18874-merge-wb2'
[arvados.git] / sdk / cwl / tests / 18994-basename / rename.cwl
1 # Copyright (C) The Arvados Authors. All rights reserved.
2 #
3 # SPDX-License-Identifier: Apache-2.0
4
5 class: ExpressionTool
6 cwlVersion: v1.2
7 inputs:
8   f1: File
9   newname: string
10 outputs:
11   out: File
12 expression: |
13   ${
14   inputs.f1.basename = inputs.newname;
15   return {"out": inputs.f1};
16   }