Skip to content

Commit 6237a8e

Browse files
author
Alvaro Muñoz
committed
Update action.yml
1 parent 5cd8d70 commit 6237a8e

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

action.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,15 @@ runs:
2828
- name: Process workflow models
2929
shell: bash
3030
if: inputs.workflow-models
31+
env:
32+
DATA: ${{ inputs.workflow-models }}
3133
run: |
3234
# Create QLPack directory
3335
mkdir workflow-extpack
3436
cd workflow-extpack
3537
3638
# Store the extension pack file
37-
cat > models.yml << 'EOF'
38-
${{ inputs.workflow-models }}
39-
EOF
39+
echo $DATA > models.yml
4040
4141
# Create QLPack
4242
cat > qlpack.yml << 'EOF'
@@ -55,8 +55,6 @@ runs:
5555
- name: Show contents
5656
shell: bash
5757
run: |
58-
echo "Directory contents"
59-
ls -la
6058
echo "Models"
6159
if [ -f workflow-extpack/models.yml ]; then cat workflow-extpack/models.yml; fi
6260
echo "QLPack"

0 commit comments

Comments
 (0)