Skip to content

Translated using Weblate (Japanese) #73

Translated using Weblate (Japanese)

Translated using Weblate (Japanese) #73

Workflow file for this run

name: Build
on:
workflow_dispatch:
push:
paths-ignore:
- docs/**
- LICENSE
branches: main
pull_request:
branches: main
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
- name: Build with Gradle
run: |
./gradlew assembleRelease bundleRelease --stacktrace
{
echo "version=v$(grep versionName version.properties | sed 's/^[^=]*=//')"
echo "commit=$(echo ${{ github.sha }} | cut -c-7)"
} >> $GITHUB_ENV
- name: Copy built artifacts
run: |
cp -v app/build/outputs/apk/release/app-release.apk Dhizuku-${{ env.version }}.apk
cp -v app/build/outputs/bundle/release/app-release.aab Dhizuku-${{ env.version }}.aab
- name: Upload
uses: actions/upload-artifact@v4
with:
name: Dhizuku(${{ env.version }}@${{ env.commit }})
path: Dhizuku-${{ env.version }}.a*