Skip to content
This repository has been archived by the owner on Sep 29, 2024. It is now read-only.

Try creating release with a python script instead of workflow. #14

Try creating release with a python script instead of workflow.

Try creating release with a python script instead of workflow. #14

Workflow file for this run

name: Build and Sign Android APK
on:
push:
branches: [ develop ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 17
uses: actions/setup-java@v2
with:
java-version: '17'
distribution: 'adopt'
- name: Decode Keystore File
run: |
echo ${{ secrets.KEYSTORE }} | base64 -d > ${{ github.workspace }}/kurobaex.jks
- name: Build and Sign APK
run: |
cd Kuroba
chmod +x ./gradlew
./gradlew assembleBetaRelease -Pandroid.injected.signing.store.file=${{ github.workspace }}/kurobaex.jks -Pandroid.injected.signing.store.password=${{ secrets.KEYSTORE_PASSWORD }} -Pandroid.injected.signing.key.alias=${{ secrets.KEY_ALIAS }} -Pandroid.injected.signing.key.password=${{ secrets.KEY_PASSWORD }}
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install/Upgrade pip and requests
run: |
python -m pip install --upgrade pip
pip install requests
- name: Create release
run: |
python create_release.py
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}