Skip to content

Commit

Permalink
multiline
Browse files Browse the repository at this point in the history
  • Loading branch information
mockersf committed Sep 13, 2023
1 parent eab17b1 commit 574e131
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/stuff.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,13 @@ jobs:
shell: pwsh
run: |
cargo build --example asset_processing --no-default-features --features "filesystem_watcher,bevy_asset,multi-threaded,bevy_ci_testing"
& { Start-Sleep -s 2; Set-Variable -Name "file" -Value "examples/asset/processing/assets/a.cool.ron"; (Get-Content $file) -replace '"a"', '"modified"' | Add-Content -Path "$file.tmp" -Force; Remove-Item -Path $file; Move-Item -Path "$File.tmp" -Destination $file } &
& {
Start-Sleep -s 2
Set-Variable -Name "file" -Value "./examples/asset/processing/assets/a.cool.ron"
(Get-Content $file) -replace '"a"', '"modified"' | Add-Content -Path "$file.tmp" -Force
Remove-Item -Path $file
Move-Item -Path "$File.tmp" -Destination $file
} &
cargo run --example asset_processing --no-default-features --features "filesystem_watcher,bevy_asset,multi-threaded,bevy_ci_testing"
cat examples/asset/processing/imported_assets/a.cool.ron
env:
Expand Down

0 comments on commit 574e131

Please sign in to comment.