Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ayanmullick committed Apr 8, 2024
1 parent 7f0c1cb commit 33250e6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/VarReuseInJobs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,6 @@ jobs:
steps:
- name: Use RG Name
run: |
$env:needs.set_resource_group.outputs.rg | ConvertFrom-Json
$rgName = "${{ needs.set_resource_group.outputs.rg }}"
Write-Host "Using Resource Group Name: $rgName"
shell: pwsh
2 changes: 2 additions & 0 deletions GHActionTest/FuncVar.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,6 @@ Write-Output "rg_name=$rgName" >> $Env:GITHUB_OUTPUT
#Get
$rgName = "${{ needs.set_resource_group.outputs.rg }}"
Write-Host "Using Resource Group Name: $rgName"
$env:needs.set_resource_group.outputs.rg | ConvertFrom-Json
#>

0 comments on commit 33250e6

Please sign in to comment.