File tree Expand file tree Collapse file tree 1 file changed +14
-5
lines changed Expand file tree Collapse file tree 1 file changed +14
-5
lines changed Original file line number Diff line number Diff line change @@ -29,16 +29,25 @@ runs:
29
29
shell : bash
30
30
if : inputs.workflow-models
31
31
run : |
32
- // Create QLPack directory
32
+ # Create QLPack directory
33
33
mkdir workflow-extpack
34
34
cd workflow-extpack
35
35
36
- // Store the extension pack file
37
- cat > models.yml << 'EOF'
36
+ # Store the extension pack file
37
+ cat > models.json << 'EOF'
38
38
${{ inputs.workflow-models }}
39
39
EOF
40
40
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
42
51
cat > qlpack.yml << 'EOF'
43
52
name: local/workflow-models
44
53
library: true
48
57
- models.yml
49
58
EOF
50
59
51
- // Set env vars
60
+ # Set env vars
52
61
echo "EXTPACK_PATH=./workflow-extpack" >> $GITHUB_ENV
53
62
echo "EXTPACK_NAME=local/workflow-models" >> $GITHUB_ENV
54
63
You can’t perform that action at this time.
0 commit comments