Skip to content

for loop

for loop #383

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 50; $i += 1) {
Add-Content ${env:GITHUB_PATH} "${RTLPath}$1"
}
- name: Print path
run: Write-Output ${env:Path}