Pamela Fox
commited on
Commit
·
aad5cf1
1
Parent(s):
554a029
Add bicep format to CI
Browse files
.github/workflows/azure-bicep-validate.yaml
CHANGED
@@ -29,14 +29,14 @@ jobs:
|
|
29 |
- name: Build Bicep
|
30 |
uses: azure/CLI@v1
|
31 |
with:
|
32 |
-
inlineScript: az
|
33 |
|
34 |
- name: Format Bicep
|
35 |
uses: azure/CLI@v1
|
36 |
with:
|
37 |
inlineScript: az bicep format -f infra/main.bicep
|
38 |
|
39 |
-
- name:
|
40 |
uses: EndBug/add-and-commit@v9
|
41 |
with:
|
42 |
message: 'Update Bicep files'
|
|
|
29 |
- name: Build Bicep
|
30 |
uses: azure/CLI@v1
|
31 |
with:
|
32 |
+
inlineScript: az bicep build -f infra/main.bicep
|
33 |
|
34 |
- name: Format Bicep
|
35 |
uses: azure/CLI@v1
|
36 |
with:
|
37 |
inlineScript: az bicep format -f infra/main.bicep
|
38 |
|
39 |
+
- name: Add updated Bicep files to commit
|
40 |
uses: EndBug/add-and-commit@v9
|
41 |
with:
|
42 |
message: 'Update Bicep files'
|