Commit b8788aa 1 parent dbc8591 commit b8788aa Copy full SHA for b8788aa
File tree 3 files changed +10
-2
lines changed
3 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -2,10 +2,12 @@ name: Run Policies Script
2
2
3
3
on :
4
4
workflow_dispatch :
5
+
5
6
6
7
jobs :
7
8
build :
8
9
runs-on : ubuntu-latest
10
+ environment : apiMana
9
11
10
12
steps :
11
13
- uses : actions/checkout@v2
Original file line number Diff line number Diff line change 15
15
<on-error >
16
16
<base />
17
17
</on-error >
18
- </policies >
18
+ </policies >
19
+
Original file line number Diff line number Diff line change 1
1
PRODUCT_ID = Github-action
2
- PRODUCT_NAME = Github
2
+ PRODUCT_NAME = Github
3
+
4
+ # Create a product
5
+ az apim product create --resource-group apim --service-name apiMana --product-id $PRODUCT_ID --display-name $PRODUCT_NAME --approval-required false
6
+ # List products
7
+ az apim product list --resource-group apim --service-name apiMana --output table
You can’t perform that action at this time.
0 commit comments