Skip to content

Commit f73571a

Browse files
author
Alvaro Muñoz
committed
fix: fix shell comments
1 parent 4b03282 commit f73571a

File tree

1 file changed

+14
-5
lines changed

1 file changed

+14
-5
lines changed

action.yml

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,25 @@ runs:
2929
shell: bash
3030
if: inputs.workflow-models
3131
run: |
32-
// Create QLPack directory
32+
# Create QLPack directory
3333
mkdir workflow-extpack
3434
cd workflow-extpack
3535
36-
// Store the extension pack file
37-
cat > models.yml << 'EOF'
36+
# Store the extension pack file
37+
cat > models.json << 'EOF'
3838
${{ inputs.workflow-models }}
3939
EOF
4040
41-
// Create QLPack
41+
# Store the extension pack file
42+
cat > models.yml << 'EOF'
43+
extensions:
44+
- addsTo:
45+
pack: githubsecuritylab/actions-all
46+
extensible: workflowDataModel
47+
data: []
48+
EOF
49+
50+
# Create QLPack
4251
cat > qlpack.yml << 'EOF'
4352
name: local/workflow-models
4453
library: true
@@ -48,7 +57,7 @@ runs:
4857
- models.yml
4958
EOF
5059
51-
// Set env vars
60+
# Set env vars
5261
echo "EXTPACK_PATH=./workflow-extpack" >> $GITHUB_ENV
5362
echo "EXTPACK_NAME=local/workflow-models" >> $GITHUB_ENV
5463

0 commit comments

Comments
 (0)