Skip to content

Commit

Permalink
fix(build): pwsh env
Browse files Browse the repository at this point in the history
  • Loading branch information
hmqgg committed Nov 25, 2023
1 parent c92f792 commit cf601cb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/create_release.yml
Expand Up @@ -34,8 +34,7 @@ jobs:
- name: Minify JSON files
id: minify-json
shell: pwsh
run: |
"${{PACKAGE_CONTENT}}" -Split "\s+" | Where-Object { $_ -Like "*.json" } | % { Get-Content $_ | Out-String | ConvertFrom-Json | ConvertTo-Json -Compress | Tee-Object $_ }
run: $env:PACKAGE_CONTENT -Split "\s+" | Where-Object { $_ -Like "*.json" } | % { Get-Content $_ | Out-String | ConvertFrom-Json | ConvertTo-Json -Compress | Tee-Object $_ }

# Create a zip file with all files required by the module to add to the release
- name: Create Artifact
Expand Down

0 comments on commit cf601cb

Please sign in to comment.