Update contributors.md #2180
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: Build Debug APK | |
on: | |
push: | |
branches: [ "beta" ] | |
workflow_dispatch: | |
jobs: | |
synchronize-with-crowdin: | |
name: Upload strings to Crowdin | |
if: github.repository_owner == 'Mahmud0808' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Upload Strings | |
uses: crowdin/github-action@v2 | |
with: | |
upload_translations: false | |
upload_sources: true | |
download_translations: false | |
localization_branch_name: beta-localization | |
create_pull_request: false | |
env: | |
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} | |
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }} | |
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }} | |
build: | |
name: Build Debug APK | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: set up JDK 18 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '18' | |
distribution: 'temurin' | |
cache: gradle | |
- name: Grant execute permission for gradlew | |
run: chmod +x gradlew | |
- name: Get application version name | |
run: echo "VERSION_NAME=$(${{github.workspace}}/gradlew -q printVersionName)" >> $GITHUB_ENV | |
- name: Bump application version code | |
uses: chkfung/[email protected] | |
with: | |
gradlePath: app/build.gradle.kts | |
versionCode: ${{github.run_number}} | |
versionName: "${{ env.VERSION_NAME }} Dev (#${{github.run_number}})" | |
- name: Write sign info | |
if: github.repository == 'Mahmud0808/Iconify' | |
run: | | |
if [ ! -z "${{ secrets.KEYSTORE }}" ]; then | |
echo storePassword='${{ secrets.KEYSTORE_PASSWORD }}' >> keystore.properties | |
echo keyAlias='${{ secrets.KEY_ALIAS }}' >> keystore.properties | |
echo keyPassword='${{ secrets.KEY_PASSWORD }}' >> keystore.properties | |
echo storeFile='${{ github.workspace }}/key.jks' >> keystore.properties | |
echo ${{ secrets.KEYSTORE }} | base64 --decode > ${{ github.workspace }}/key.jks | |
fi | |
- name: Build with Gradle | |
run: ./gradlew assembleDebug | |
- name: Upload a Build Artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: "Iconify v${{ env.VERSION_NAME }} Dev (#${{github.run_number}})" | |
path: app/build/outputs/apk/debug/*.apk | |
if-no-files-found: error |