Skip to content

Commit

Permalink
Add module install to build (#593)
Browse files Browse the repository at this point in the history
Co-authored-by: Anthony Watherston <[email protected]>
  • Loading branch information
anwather and Anthony Watherston authored Apr 29, 2024
1 parent 63a8fcd commit 82e1d2c
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/automated-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,6 @@ jobs:
APIKEY: ${{ secrets.APIKEY }}
TAG_NAME: ${{ github.event.release.tag_name }}
run: |
Install-Module Az.ResourceGraph -Force
.\Module\build.ps1
Publish-Module -Path .\Module\EnterprisePolicyAsCode -NuGetApiKey $env:APIKEY -Verbose
2 changes: 1 addition & 1 deletion Docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Enterprise Azure Policy as Code (EPAC for short) is a number of PowerShell scripts which can be used in CI/CD based system or a semi-automated use to deploy Policies, Policy Sets, Policy Assignments, Policy Exemptions and Role Assignments. It also contains operational scripts to simplify operational tasks.

> [!CAUTION]
> Review the Breaking changes in v10.0.0 carefully to avoif issues with your EPAC instance. The changes are [documented here](start-changes.md#breaking-changes-in-v1000).
> Review the Breaking changes in v10.0.0 carefully to avoid issues with your EPAC instance. The changes are [documented here](start-changes.md#breaking-changes-in-v1000).
> [!IMPORTANT]
> Starting with v8.0.0, Enterprise Policy as Code (EPAC) is tracking the usage using [Customer Usage Attribution](https://learn.microsoft.com/en-us/partner-center/marketplace/azure-partner-customer-usage-attribution). In accordance with Microsoft's privacy policies, you have the right to **opt-out** of this tracking. Please review [Telemetry below](#telemetry-tracking-using-customer-usage-attribution-pid) and [Microsoft Privacy](https://privacy.microsoft.com/en-US/) for more information.
Expand Down
11 changes: 11 additions & 0 deletions Module/EnterprisePolicyAsCode/EnterprisePolicyAsCode.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,17 @@
# Aliases to export from this module
AliasesToExport = ''

RequiredModules = @(
@{
ModuleName = 'Az.Accounts'
ModuleVersion = '2.9.1'
},
@{
ModuleName = 'Az.ResourceGraph'
ModuleVersion = '0.13.0'
}
)

# List of all files packaged with this module
FileList = @()

Expand Down

0 comments on commit 82e1d2c

Please sign in to comment.