Skip to content

Commit

Permalink
fixing variable syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael LoPresti committed Oct 12, 2023
1 parent 59b1f8f commit 6519f02
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.github-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
id: version
run: |
$versionNumber = (Import-PowerShellDataFile .\src\ValidateJson.psd1)["ModuleVersion"]
echo "version_number=$versionNumber" >> $GITHUB_OUTPUT
Write-Output "version_number=$versionNumber" | Out-File -FilePath $env:GITHUB_OUTPUT -Encoding utf8 -Append
- run: Write-Host "${{ steps.version.outputs.version_number }}"

Expand All @@ -56,7 +56,7 @@ jobs:
id: version
run: |
$versionNumber = (Import-PowerShellDataFile .\src\ValidateJson.psd1)["ModuleVersion"]
echo "version_number=$versionNumber" >> $GITHUB_OUTPUT
Write-Output "version_number=$versionNumber" | Out-File -FilePath $env:GITHUB_OUTPUT -Encoding utf8 -Append
- name: Save Package
uses: actions/upload-artifact@v3
Expand All @@ -82,7 +82,7 @@ jobs:
run: |
Expand-Archive -Path ValidateJson.zip
$versionNumber = (Import-PowerShellDataFile .\ValidateJson\ValidateJson.psd1)["ModuleVersion"]
Write-Output "version_number=$versionNumber" >> $GITHUB_OUTPUT
Write-Output "version_number=$versionNumber" | Out-File -FilePath $env:GITHUB_OUTPUT -Encoding utf8 -Append
Remove-Item -Path .\ValidateJson\ -Force -Recurse
- name: Create Release
Expand Down

0 comments on commit 6519f02

Please sign in to comment.