mirror of
https://github.com/JDM170/ReVanced_Builder
synced 2025-11-29 14:41:46 +07:00
Update Build.yaml
This commit is contained in:
14
.github/workflows/Build.yaml
vendored
14
.github/workflows/Build.yaml
vendored
@@ -48,7 +48,7 @@ jobs:
|
||||
}
|
||||
Invoke-RestMethod @Parameters
|
||||
|
||||
(Get-Content -Path Release.txt -Encoding utf8).replace("CLITag", $Tag) | Set-Content -Path Release.txt -Encoding utf8 -Force
|
||||
(Get-Content -Path Release.md -Encoding utf8).replace("CLITag", $Tag) | Set-Content -Path Release.md -Encoding utf8 -Force
|
||||
|
||||
- name: Downloading ReVanced Patches
|
||||
run: |
|
||||
@@ -68,7 +68,7 @@ jobs:
|
||||
}
|
||||
Invoke-RestMethod @Parameters
|
||||
|
||||
(Get-Content -Path Release.txt -Encoding utf8).replace("PatchesTag", $Tag) | Set-Content -Path Release.txt -Encoding utf8 -Force
|
||||
(Get-Content -Path Release.md -Encoding utf8).replace("PatchesTag", $Tag) | Set-Content -Path Release.md -Encoding utf8 -Force
|
||||
|
||||
- name: Downloading ReVanced Integrations
|
||||
run: |
|
||||
@@ -87,7 +87,7 @@ jobs:
|
||||
}
|
||||
Invoke-RestMethod @Parameters
|
||||
|
||||
(Get-Content -Path Release.txt -Encoding utf8).replace("IntegrationsTag", $Tag) | Set-Content -Path Release.txt -Encoding utf8 -Force
|
||||
(Get-Content -Path Release.md -Encoding utf8).replace("IntegrationsTag", $Tag) | Set-Content -Path Release.md -Encoding utf8 -Force
|
||||
|
||||
- name: Downloading GmsCore
|
||||
run: |
|
||||
@@ -106,7 +106,7 @@ jobs:
|
||||
}
|
||||
Invoke-RestMethod @Parameters
|
||||
|
||||
(Get-Content -Path Release.txt -Encoding utf8).replace("GmsCoreTag", $Tag) | Set-Content -Path Release.txt -Encoding utf8 -Force
|
||||
(Get-Content -Path Release.md -Encoding utf8).replace("GmsCoreTag", $Tag) | Set-Content -Path Release.md -Encoding utf8 -Force
|
||||
|
||||
- name: Downloading latest Zulu JDK
|
||||
run: |
|
||||
@@ -126,7 +126,7 @@ jobs:
|
||||
}
|
||||
Invoke-RestMethod @Parameters
|
||||
|
||||
(Get-Content -Path Release.txt -Encoding utf8).replace("ZuluTag", $Tag) | Set-Content -Path Release.txt -Encoding utf8 -Force
|
||||
(Get-Content -Path Release.md -Encoding utf8).replace("ZuluTag", $Tag) | Set-Content -Path Release.md -Encoding utf8 -Force
|
||||
|
||||
- name: Expanding Zulu JDK
|
||||
run: |
|
||||
@@ -171,9 +171,9 @@ jobs:
|
||||
}
|
||||
Compress-Archive @Parameters
|
||||
|
||||
- name: Release.txt
|
||||
- name: Release.md
|
||||
run: |
|
||||
$Release = Get-Content -Path Release.txt -Encoding utf8 -Raw
|
||||
$Release = (Get-Content -Path Release.md -Raw -Encoding utf8).replace("%", "[char]0x25").replace("\n", "[char]0x0A").replace("\r", "[char]0x0D") | Set-Content -Path Release.md -Force
|
||||
echo "Release_Body=$Release" >> $env:GITHUB_ENV
|
||||
|
||||
- name: Uploading ReVanced.zip to release
|
||||
|
||||
Reference in New Issue
Block a user