Skip to content

Commit df232d1

Browse files
trop[bot]jkleinsc
andauthored
ci: cleanup use new arc cluster (#48007)
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>
1 parent ab51554 commit df232d1

File tree

2 files changed

+2
-11
lines changed

2 files changed

+2
-11
lines changed

.github/actions/build-electron/action.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,6 @@ runs:
4747
- name: Add Clang problem matcher
4848
shell: bash
4949
run: echo "::add-matcher::src/electron/.github/problem-matchers/clang.json"
50-
- name: Enable long paths for Windows
51-
shell: powershell
52-
if: ${{ inputs.target-platform == 'win' }}
53-
run: |
54-
Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "LongPathsEnabled" -Value 1 -Type DWord
5550
- name: Build Electron ${{ inputs.step-suffix }}
5651
shell: bash
5752
run: |

.github/actions/restore-cache-azcopy/action.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,8 @@ runs:
3636
echo "SAS Token not found; exiting src cache download early..."
3737
exit 1
3838
else
39-
echo "const fs = require('fs');" > gettoken.js
40-
echo "const fileContents = fs.readFileSync('sas-token', 'utf8');" >> gettoken.js
41-
echo "const token = JSON.parse(fileContents);" >> gettoken.js
42-
echo "console.log(token[process.argv[2]])" >> gettoken.js
43-
sas_token=$(node ./gettoken.js sasToken)
44-
account_name=$(node ./gettoken.js accountName)
39+
sas_token=$(jq -r '.sasToken' sas-token)
40+
account_name=$(jq -r '.accountName' sas-token)
4541
if [ "${{ inputs.target-platform }}" = "win" ]; then
4642
azcopy copy --log-level=ERROR \
4743
"https://$account_name.file.core.windows.net/${{ env.AZURE_AKS_WIN_CACHE_SHARE_NAME }}/${{ env.CACHE_PATH }}?$sas_token" $DEPSHASH.tar

0 commit comments

Comments
 (0)