mirror of
https://github.com/JDM170/ReVanced_Builder
synced 2025-11-29 14:41:46 +07:00
Update workflow (added if condition for key storage addition step)
This commit is contained in:
6
.github/workflows/Build.yml
vendored
6
.github/workflows/Build.yml
vendored
@@ -39,8 +39,11 @@ jobs:
|
||||
. Scripts\Zulu_JDK.ps1
|
||||
|
||||
- name: Add keystore from secrets
|
||||
env:
|
||||
KEYSTORE: ${{ secrets.REVANCED_KEYSTORE }}
|
||||
if: ${{ env.KEYSTORE != '' }}
|
||||
run: |
|
||||
[byte[]]$bytes = [convert]::FromBase64String('${{ secrets.REVANCED_KEYSTORE }}')
|
||||
[byte[]]$bytes = [convert]::FromBase64String('${{ env.KEYSTORE }}')
|
||||
[System.IO.File]::WriteAllBytes("Temp\revanced.keystore", $bytes)
|
||||
|
||||
- name: Build
|
||||
@@ -85,3 +88,4 @@ jobs:
|
||||
tag_name: ${{ env.RELEASE_NAME }}
|
||||
body_path: ${{ steps.read_release.outputs.ReleaseBody }}
|
||||
files: ReVanced.zip
|
||||
|
||||
|
||||
Reference in New Issue
Block a user