Skip to content

Commit

Permalink
[GHA WIN] Write sed modification in file
Browse files Browse the repository at this point in the history
Command was applied only in log display text, not an infile modification
  • Loading branch information
RoiArthurB committed Apr 25, 2022
1 parent 9e5f033 commit 4f70217
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/github-travis.yml
Expand Up @@ -269,7 +269,8 @@ jobs:
- name: Change variables for JDK installer
if: contains( matrix.zipName, 'withJDK')
run: |
get-content windows_installer_script.iss | %{$_ -replace "x86_64","x86_64_withJDK"}
((Get-Content -path windows_installer_script.iss -Raw) -replace 'x86_64','x86_64_withJDK') | Set-Content -Path windows_installer_script.iss
Get-Content -path windows_installer_script.iss
- name: Prepare vm
run: |
Expand Down

0 comments on commit 4f70217

Please sign in to comment.