1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-07 09:31:31 +01:00
bitwarden-browser/.github/workflows/exp.yml

55 lines
1.4 KiB
YAML
Raw Normal View History

name: Windows Environment Exploration
on:
workflow_dispatch:
jobs:
exp:
runs-on: windows-latest
steps:
2021-01-06 20:48:08 +01:00
- 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: Install & Test pkg
run: |
npm install -g pkg
pkg --help
2021-01-06 22:03:37 +01:00
2021-01-07 00:27:20 +01:00
- name: Download RH
2021-01-07 00:40:04 +01:00
shell: pwsh
2021-01-07 17:05:44 +01:00
run: |
Invoke-WebRequest -Uri http://www.angusj.com/resourcehacker/resource_hacker.zip -OutFile "resource_hacker.zip"
Expand-Archive -Path resource_hacker.zip -DestinationPath resource_hacker
2021-01-07 00:27:20 +01:00
- name: List RH
2021-01-07 17:05:44 +01:00
run: dir resource_hacker
2021-01-07 00:27:20 +01:00
2021-01-07 17:48:17 +01:00
- name: Get Current Directory
shell: pwsh
run: Get-Location
2021-01-07 17:12:29 +01:00
- name: Debugging Path
shell: pwsh
2021-01-07 17:23:03 +01:00
run: |
2021-01-07 17:30:20 +01:00
echo "D:\a\cli\cli\resource_hacker" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
2021-01-07 17:26:02 +01:00
echo $env:GITHUB_PATH
2021-01-07 17:12:29 +01:00
2021-01-07 18:56:48 +01:00
- name: ResourceHacker Test
shell: pwsh
2021-01-07 19:14:47 +01:00
run: |
$args = "-help"
2021-01-07 19:18:54 +01:00
start-process -filepath "ResourceHacker.exe" -argumentlist $args
2021-01-07 18:56:48 +01:00
2021-01-07 19:25:15 +01:00
- name: ResourceHacker Test
2021-01-07 19:25:15 +01:00
run: |
cd resource_hacker
2021-01-07 19:28:46 +01:00
dir
2021-01-07 19:43:50 +01:00
start ResoureHacker.exe /help