Skip to content

45key-layout-Numbers-below #74

45key-layout-Numbers-below

45key-layout-Numbers-below #74

Workflow file for this run

name: 45key-layout-Numbers-below
on:
pull_request:
push:
branches: [45key-layout-Numbers-below]
jobs:
develop:
strategy:
matrix:
os:
- ubuntu-24.04
runs-on: ${{ matrix.os }}
steps:
- name: Fetch source code
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: recursive
- uses: cachix/install-nix-action@v30
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
- uses: cachix/cachix-action@v15
with:
name: fcitx5-android
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
- name: decode-base64-github-action
uses: akiojin/[email protected]
with:
base64: ${{ secrets.STORE_FILE_BASE64 }}
output-path: ${{ github.workspace }}/release-key.jks
- name: Build Release APK
env:
STORE_PASSWORD: ${{ secrets.STORE_PASSWORD }}
KEY_ALIAS: ${{ secrets.KEY_ALIAS }}
KEY_PASSWORD: ${{ secrets.KEY_PASSWORD }}
STORE_FILE: ${{ github.workspace }}/release-key.jks
run: |
nix develop .#noAS --command git tag ${{ github.ref_name }}
nix develop .#noAS --command ./gradlew :app:assembleRelease
- name: Create release
uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
automatic_release_tag: 45key-numbers
prerelease: true
title: ${{ github.ref_name }} Release
files: |
app/build/outputs/apk/release/*.apk