Add files via upload

This commit is contained in:
Dmitry Nefedov
2022-09-23 00:39:58 +03:00
committed by GitHub
parent 87290740a5
commit b43fec04b2
6 changed files with 129 additions and 18 deletions

View File

@@ -0,0 +1,16 @@
# https://github.com/revanced/revanced-integrations
$Parameters = @{
Uri = "https://api.github.com/repos/revanced/revanced-integrations/releases/latest"
UseBasicParsing = $true
Verbose = $true
}
$IntegrationsTag = (Invoke-RestMethod @Parameters).tag_name
$Parameters = @{
Uri = "https://github.com/revanced/revanced-integrations/releases/download/$IntegrationsTag/app-release-unsigned.apk"
Outfile = "$PSScriptRoot\app-release-unsigned.apk"
UseBasicParsing = $true
Verbose = $true
}
Invoke-RestMethod @Parameters
echo "IntegrationsTag=$IntegrationsTag" >> $env:GITHUB_ENV