Skip to content

Add Change API key + change User-Agent + Keystore + remove codeql wor… #206

Add Change API key + change User-Agent + Keystore + remove codeql wor…

Add Change API key + change User-Agent + Keystore + remove codeql wor… #206

Workflow file for this run

name: Build
on:
push:
pull_request:
workflow_dispatch:
jobs:
Build:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Set-up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- name: Setup and build with Gradle
uses: gradle/gradle-build-action@v2
with:
arguments: build -x lint
- name: Sign APK
id: sign_apk
uses: ilharp/sign-android-release@v1
with:
releaseDir: app/build/outputs/apk/
signingKey: ${{ secrets.APK_KEYSTORE_FILE_BASE64 }}
keyAlias: ${{ secrets.APK_KEYSTORE_ALIAS }}
keyStorePassword: ${{ secrets.APK_KEYSTORE_PASSWORD }}
keyPassword: ${{ secrets.APK_KEYSTORE_PASSWORD }}
- name: Upload apk
uses: actions/upload-artifact@v3
with:
name: Infinity-${{github.sha}}
path: app/build/outputs/apk/
if-no-files-found: error
- name: Release Infinity-For-Reddit APK v7.3.4
uses: softprops/action-gh-release@v1
with:
tag_name: "v7.3.4"
body: New version of Infinity-For-Reddit
files: |
app/build/outputs/apk/release/app-release-unsigned-signed.apk
app/build/outputs/apk/minifiedRelease/app-minifiedRelease-unsigned-signed.apk
app/build/outputs/apk/debug/app-debug-signed.apk
repository: schklom/Infinity-For-Reddit
token: ${{ secrets.PAT_GITHUB_ACTION }}