Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
crowbarmaster committed Apr 14, 2024
2 parents 550e204 + 435531e commit b8c14a0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/CheckJavaVersion.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ jobs:
$javaManifestUri = 'https://piston-meta.mojang.com/mc/game/version_manifest_v2.json';
$javaManifestcontent = Invoke-WebRequest -UseBasicParsing -Headers $ConnectionHeaders -Uri $javaManifestUri;
$javaManifestJson = $javaManifestcontent | ConvertFrom-Json;
$localJavaManifestJson = Get-Content "MMS_Files\\java_version_prop_manifest.json" | ConvertFrom-Json;
$latestRelease = $javaManifestJson.versions | Select-Object -First 1;
$latestLocalRelease = $localJavaManifestJson | Select-Object -Last 1;
echo "javaVer=0" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf-8 -Append;
Expand Down

0 comments on commit b8c14a0

Please sign in to comment.