Skip to content

Commit

Permalink
Update nightly.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
lifenglsf authored Sep 23, 2024
1 parent 7ef9a62 commit 8e5d26f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ jobs:
id: setup_matrix
run: |
$response = Invoke-RestMethod -Method Get -Uri "https://windows.php.net/downloads/releases/releases.json"
$jsonString = $response | ConvertTo-Json
$versions = echo $jsonString |jq '[to_entries[] | select(.value["ts-vc15-x64"].zip.sha256 != null or .value["ts-vs16-x64"].zip.sha256 != null or .value["nts-vc15-x64"].zip.sha256 != null or .value["nts-vs16-x64"].zip.sha256 != null) | .key]'
$jsonString = $response | ConvertTo-Json -Compress
$versions = echo $jsonString |jq '[to_entries[] | select(.value["ts-vc15-x64"]?.zip.sha256 != null or .value["ts-vs16-x64"]?.zip.sha256 != null or .value["nts-vc15-x64"]?.zip.sha256 != null or .value["nts-vs16-x64"]?.zip.sha256 != null) | .key]'
# $response|get-member -membertype NoteProperty
# $tag=$response.PSObject.Properties | Select-Object -Expand Name
# $tt=@()
Expand Down

0 comments on commit 8e5d26f

Please sign in to comment.