Test #8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Test" | |
on: | |
workflow_dispatch: | |
jobs: | |
build_on_windows: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.8' | |
- name: Set up environment variables | |
run: | | |
$env:APK_SIGN_PWD="${{ secrets.APK_SIGN_PWD }}" | |
$env:APK_SIGN_ALIAS="${{ secrets.APK_SIGN_ALIAS }}" | |
$env:APK_SIGN_JKS="${{ secrets.APK_SIGN_JKS }}" | |
echo "APK_SIGN_PWD length: $($env:APK_SIGN_PWD.Length)" | |
echo "APK_SIGN_ALIAS length: $($env:APK_SIGN_ALIAS.Length)" | |
echo "APK_SIGN_JKS length: $($env:APK_SIGN_JKS.Length)" | |
python tools/create_signing_files.py | |
shell: pwsh | |
- name: Print key.properties contents and length | |
run: | | |
Get-Content android\key.properties | |
$keyPropertiesLength = (Get-Content android\key.properties | Out-String).Length | |
echo "key.properties length: $keyPropertiesLength" | |
shell: pwsh | |
- name: Print key.jks length | |
run: | | |
$keyJksLength = (Get-Item android\app\key.jks).length | |
echo "key.jks length: $keyJksLength" | |
shell: pwsh |