name: Windows Environment Exploration on: workflow_dispatch: jobs: exp: runs-on: windows-latest steps: - name: Checkout repo uses: actions/checkout@v2 - name: Set up Node uses: actions/setup-node@v1 with: node-version: '10.x' - name: Set Node options run: echo "NODE_OPTIONS=--max_old_space_size=4096" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append shell: pwsh - name: Where am I? run: dir - name: Download RH shell: pwsh run: | Invoke-WebRequest -Uri http://www.angusj.com/resourcehacker/resource_hacker.zip -OutFile "resource_hacker.zip" Expand-Archive -Path resource_hacker.zip -DestinationPath scripts\resource_hacker - name: Debugging Path shell: pwsh run: | echo "D:\a\cli\cli\resource_hacker" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append echo $env:GITHUB_PATH - name: ResourceHacker Test shell: pwsh run: | start-process -filepath "ResourceHacker.exe" -argumentlist "-help" -Wait - name: ResourceHacker Test run: | ResourceHacker -help