Skip to content

Commit

Permalink
ps(script): add inline
Browse files Browse the repository at this point in the history
  • Loading branch information
autocloudarc committed Feb 29, 2024
1 parent d4484a4 commit 10212c1
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/deploy-az-resources.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,13 @@ jobs:
./ps-scripts/demo-powershellScript.ps1
shell: pwsh

- name: execute-pwsh-script-inline
run: |
$PSVersionTable
Write-Host "Executing inline PowerShell Commands"
Get-ChildItem
shell: pwsh

- name: 'Test Deployment'
uses: azure/CLI@v1
with:
Expand All @@ -84,6 +91,7 @@ jobs:
# https://docs.microsoft.com/en-us/cli/azure/deployment/sub?view=azure-cli-latest#az_deployment_sub_what_if
# az deployment sub what-if --location WestUS --template-file ./exercises-dev/main-exercises-dev.bicep --parameters ./exercises-dev/main-exercises-dev.parameters.json
reusable-demo2:
needs: reusable-demo1
uses: ./.github/workflows/reusable-workflow.yml
with:
operation: deploy
Expand Down

0 comments on commit 10212c1

Please sign in to comment.