Skip to content

Commit

Permalink
Moved prerequisites to earlier in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
DCMattyG committed Aug 19, 2023
1 parent 28a6817 commit 80a77ea
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/azure-ipam-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ jobs:
steps:
- run: echo "Job triggered by a ${{ github.event_name }} event from ${{ github.head_ref }} to main."

- name: Install Deployment Prerequisites
shell: pwsh
run: |
Set-PSRepository PSGallery -InstallationPolicy Trusted
Install-Module Az, Microsoft.Graph -Force
- name: "Azure Login"
uses: azure/login@v1
with:
Expand All @@ -33,12 +39,6 @@ jobs:
- name: Checkout Azure IPAM Code
uses: actions/checkout@v3

- name: Install Deployment Prerequisites
shell: pwsh
run: |
Set-PSRepository PSGallery -InstallationPolicy Trusted
Install-Module Az, Microsoft.Graph
- name: Deploy Azure IPAM
working-directory: "deploy"
id: "pwshScript"
Expand Down

0 comments on commit 80a77ea

Please sign in to comment.