1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-23 11:56:00 +01:00

moving the downloads into the scripts directory

This commit is contained in:
Joseph Flinn 2021-01-07 19:30:25 +00:00
parent 1400a02c69
commit dec58cc78c
2 changed files with 15 additions and 10 deletions

View File

@ -41,6 +41,18 @@ jobs:
with: with:
node-version: '10.x' node-version: '10.x'
- 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\scripts\resource_hacker" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
echo $env:GITHUB_PATH
- name: Set PACKAGE_VERSION & VER_INFO - name: Set PACKAGE_VERSION & VER_INFO
run: | run: |
$env:pkgVersion = (Get-Content -Raw -Path .\package.json | ConvertFrom-Json).version $env:pkgVersion = (Get-Content -Raw -Path .\package.json | ConvertFrom-Json).version

View File

@ -19,20 +19,13 @@ jobs:
- name: Download RH - name: Download RH
shell: pwsh shell: pwsh
run: | run: |
Invoke-WebRequest -Uri http://www.angusj.com/resourcehacker/resource_hacker.zip -OutFile "resource_hacker.zip" Invoke-WebRequest -Uri http://www.angusj.com/resourcehacker/resource_hacker.zip -OutFile "scripts\resource_hacker.zip"
Expand-Archive -Path resource_hacker.zip -DestinationPath resource_hacker Expand-Archive -Path "scripts\resource_hacker.zip" -DestinationPath scripts\resource_hacker
- name: List RH
run: dir resource_hacker
- name: Get Current Directory
shell: pwsh
run: Get-Location
- name: Debugging Path - name: Debugging Path
shell: pwsh shell: pwsh
run: | run: |
echo "D:\a\cli\cli\resource_hacker" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append echo "D:\a\cli\cli\scripts\resource_hacker" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
echo $env:GITHUB_PATH echo $env:GITHUB_PATH
- name: ResourceHacker Test - name: ResourceHacker Test