File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99 steps :
1010 - uses : actions/checkout@v5
1111 - name : Set up jextract
12- shell : bash
12+ shell : pwsh
1313 run : |
14- mkdir jextract && cd jextract
15- curl -L -o jextract.tar.gz https://download.java.net/java/early_access/jextract/25/2/openjdk-25-jextract+2-4_windows-x64_bin.tar.gz
16- tar xzvf jextract.tar.gz --strip-components=1
17- echo "$(pwd)" >> $GITHUB_PATH
18- pwd
19- echo "a"
20- ls
21- echo "a"
22- ls bin
23- // D:\a\killscript\killscript\windows_helper
24- echo "JEXTRACT=$(pwd)" >> $GITHUB_ENV
14+ New-Item -ItemType Directory -Force -Path jextract | Out-Null
15+ Set-Location jextract
16+
17+ Invoke-WebRequest `
18+ -Uri "https://download.java.net/java/early_access/jextract/25/2/openjdk-25-jextract+2-4_windows-x64_bin.tar.gz" `
19+ -OutFile "jextract.tar.gz"
20+
21+ tar -xzvf "jextract.tar.gz" --strip-components=1
22+
23+ $pwdPath = (Get-Location).Path
24+ Add-Content -Path $env:GITHUB_PATH -Value $pwdPath
25+ Add-Content -Path $env:GITHUB_ENV -Value "JEXTRACT=$pwdPath"
2526 - uses : actions/setup-java@v5
2627 with :
2728 distribution : " temurin"
You can’t perform that action at this time.
0 commit comments