mirror of
https://github.com/JDM170/ReVanced_Builder
synced 2025-11-29 14:41:46 +07:00
Update files
Signed-off-by: Lev Rusanov <30170278+JDM170@users.noreply.github.com>
This commit is contained in:
@@ -4,13 +4,15 @@ $Parameters = @{
|
||||
UseBasicParsing = $true
|
||||
Verbose = $true
|
||||
}
|
||||
$MicroGTag = (Invoke-RestMethod @Parameters).tag_name
|
||||
$apiResult = Invoke-RestMethod @Parameters
|
||||
$URL = $apiResult.assets.browser_download_url
|
||||
$TAG = $apiResult.tag_name
|
||||
$Parameters = @{
|
||||
Uri = "https://github.com/TeamVanced/VancedMicroG/releases/download/$MicroGTag/microg.apk"
|
||||
Outfile = "Temp\microg.apk"
|
||||
UseBasicParsing = $true
|
||||
Verbose = $true
|
||||
Uri = $URL
|
||||
Outfile = "Temp\microg.apk"
|
||||
UseBasicParsing = $true
|
||||
Verbose = $true
|
||||
}
|
||||
Invoke-RestMethod @Parameters
|
||||
|
||||
echo "MicroGTag=$MicroGTag" >> $env:GITHUB_ENV
|
||||
echo "MicroGTag=$TAG" >> $env:GITHUB_ENV
|
||||
|
||||
@@ -4,14 +4,15 @@ $Parameters = @{
|
||||
UseBasicParsing = $true
|
||||
Verbose = $true
|
||||
}
|
||||
$CLIvtag = (Invoke-RestMethod @Parameters).tag_name
|
||||
$CLItag = $CLIvtag.replace("v", "")
|
||||
$apiResult = Invoke-RestMethod @Parameters
|
||||
$URL = $apiResult.assets.browser_download_url
|
||||
$TAG = $apiResult.tag_name
|
||||
$Parameters = @{
|
||||
Uri = "https://github.com/revanced/revanced-cli/releases/download/$CLIvtag/revanced-cli-$CLItag-all.jar"
|
||||
Uri = $URL
|
||||
Outfile = "Temp\revanced-cli.jar"
|
||||
UseBasicParsing = $true
|
||||
Verbose = $true
|
||||
}
|
||||
Invoke-RestMethod @Parameters
|
||||
|
||||
echo "CLIvtag=$CLIvtag" >> $env:GITHUB_ENV
|
||||
echo "CLIvtag=$TAG" >> $env:GITHUB_ENV
|
||||
|
||||
@@ -5,14 +5,14 @@ $Parameters = @{
|
||||
Verbose = $true
|
||||
}
|
||||
$apiResult = Invoke-RestMethod @Parameters
|
||||
$IntegrationsTag = $apiResult.tag_name
|
||||
$URL = $apiResult.assets.browser_download_url
|
||||
$TAG = $apiResult.tag_name
|
||||
$Parameters = @{
|
||||
# Uri = "https://github.com/revanced/revanced-integrations/releases/download/$Tag/revanced-integrations-$Tag2.apk"
|
||||
Uri = $apiResult.assets.browser_download_url
|
||||
Uri = $URL
|
||||
Outfile = "Temp\revanced-integrations.apk"
|
||||
UseBasicParsing = $true
|
||||
Verbose = $true
|
||||
}
|
||||
Invoke-RestMethod @Parameters
|
||||
|
||||
echo "IntegrationsTag=$IntegrationsTag" >> $env:GITHUB_ENV
|
||||
echo "IntegrationsTag=$TAG" >> $env:GITHUB_ENV
|
||||
|
||||
@@ -6,7 +6,7 @@ $Parameters = @{
|
||||
}
|
||||
$apiResult = Invoke-RestMethod @Parameters
|
||||
$URL = $apiResult.architecture."64bit".url
|
||||
$ZuluTag = $apiResult.version
|
||||
$TAG = $apiResult.version
|
||||
$Parameters = @{
|
||||
Uri = $URL
|
||||
Outfile = "Temp\jdk_windows-x64_bin.zip"
|
||||
@@ -15,7 +15,7 @@ $Parameters = @{
|
||||
}
|
||||
Invoke-RestMethod @Parameters
|
||||
|
||||
echo "ZuluTag=$ZuluTag" >> $env:GITHUB_ENV
|
||||
echo "ZuluTag=$TAG" >> $env:GITHUB_ENV
|
||||
|
||||
Write-Verbose -Message "Expanding Zulu JDK" -Verbose
|
||||
|
||||
|
||||
Reference in New Issue
Block a user