Skip to content

Test multiple appends #385

Test multiple appends

Test multiple appends #385

Workflow file for this run

name: Build & Test
on: [push, workflow_dispatch]
jobs:
build:
runs-on: windows-2022
timeout-minutes: 20
steps:
- name: Append to path
run: |
$RTLPath = cygpath -w ${{ github.workspace }}/BinaryCache/Developer/Library/Developer/Platforms/Windows.platform/Developer/SDKs/Windows.sdk/usr/bin
for ($i = 0; $i -le 10; $i += 1) {
Add-Content ${env:GITHUB_PATH} "${RTLPath}$i"
}
- name: Print path
run: Write-Output ${env:Path}
- name: Append to path
run: |
$RTLPath = cygpath -w ${{ github.workspace }}/BinaryCache/Developer/Library/Developer/Platforms/Windows.platform/Developer/SDKs/Windows.sdk/usr/bin
for ($i = 10; $i -le 20; $i += 1) {
Add-Content ${env:GITHUB_PATH} "${RTLPath}$i"
}
- name: Print path
run: Write-Output ${env:Path}