mirror of
https://github.com/FiorenMas/Revanced-And-Revanced-Extended-Non-Root.git
synced 2026-08-18 21:37:10 +00:00
Update action.yml
This commit is contained in:
parent
f80f3816fb
commit
0d04402bdf
1 changed files with 11 additions and 0 deletions
11
.github/actions/preparing/action.yml
vendored
11
.github/actions/preparing/action.yml
vendored
|
|
@ -7,6 +7,17 @@ runs:
|
|||
with:
|
||||
distribution: 'zulu'
|
||||
java-version: '21'
|
||||
- name: Install Bouncy Castle provider for BKS keystore
|
||||
shell: bash
|
||||
run: |
|
||||
sudo apt-get install -y -q libbcprov-java
|
||||
BCPROV=$(find /usr/share/java -name "bcprov-*.jar" | grep -v debian | head -1)
|
||||
sudo cp "$BCPROV" "$JAVA_HOME/lib/bcprov.jar"
|
||||
LAST_PROV=$(grep "^security.provider\." "$JAVA_HOME/conf/security/java.security" \
|
||||
| grep -oP '(?<=security\.provider\.)\d+' | sort -n | tail -1)
|
||||
echo "security.provider.$((LAST_PROV+1))=org.bouncycastle.jce.provider.BouncyCastleProvider" \
|
||||
| sudo tee -a "$JAVA_HOME/conf/security/java.security"
|
||||
echo "[+] Bouncy Castle registered as provider #$((LAST_PROV+1))"
|
||||
- name: Start FlareSolverr
|
||||
shell: bash
|
||||
run: |
|
||||
|
|
|
|||
Loading…
Reference in a new issue