File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Keyfactor Merge Cert Store Types
2
+ on : [workflow_dispatch]
3
+
4
+ jobs :
5
+ get-manifest-properties :
6
+ runs-on : windows-latest
7
+ outputs :
8
+ update_catalog : ${{ steps.read-json.outputs.update_catalog }}
9
+ integration_type : ${{ steps.read-json.outputs.integration_type }}
10
+ steps :
11
+ - uses : actions/checkout@v3
12
+ - name : Store json
13
+ id : read-json
14
+ shell : pwsh
15
+ run : |
16
+ $json = Get-Content integration-manifest.json | ConvertFrom-Json
17
+ $myvar = $json.update_catalog
18
+ echo "update_catalog=$myvar" | Out-File -FilePath $Env:GITHUB_OUTPUT -Encoding utf8 -Append
19
+ $myvar = $json.integration_type
20
+ echo "integration_type=$myvar" | Out-File -FilePath $Env:GITHUB_OUTPUT -Encoding utf8 -Append
21
+
22
+ call-update-store-types-workflow :
23
+ needs : get-manifest-properties
24
+ if : needs.get-manifest-properties.outputs.integration_type == 'orchestrator' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch')
25
+ uses : Keyfactor/actions/.github/workflows/update-store-types.yml@main
26
+ secrets :
27
+ token : ${{ secrets.UPDATE_STORE_TYPES }}
You can’t perform that action at this time.
0 commit comments