Skip to content

🔖 Prepare Release 3.30.0 #116

🔖 Prepare Release 3.30.0

🔖 Prepare Release 3.30.0 #116

Workflow file for this run

# This file was generated using Kotlin DSL (.github/workflows/release.main.kts).
# If you want to modify the workflow, please change the Kotlin file and regenerate this YAML file.
# Generated with https://github.com/typesafegithub/github-workflows-kt
name: 'Release'
on:
push:
tags:
- '*'
jobs:
check_yaml_consistency:
name: 'Check YAML consistency'
runs-on: 'ubuntu-latest'
steps:
- id: 'step-0'
name: 'Check out'
uses: 'actions/checkout@v4'
- id: 'step-1'
name: 'Execute script'
run: 'rm ''.github/workflows/release.yaml'' && ''.github/workflows/release.main.kts'''
- id: 'step-2'
name: 'Consistency check'
run: 'git diff --exit-code ''.github/workflows/release.yaml'''
create-apk:
runs-on: 'ubuntu-latest'
needs:
- 'check_yaml_consistency'
steps:
- id: 'step-0'
name: 'Set up JDK'
uses: 'actions/setup-java@v4'
with:
java-version: '17'
distribution: 'adopt'
- id: 'step-1'
uses: 'actions/checkout@v4'
- id: 'step-2'
name: 'reveal-secrets'
uses: 'entrostat/git-secret-action@v4'
with:
gpg-private-key: '${{ secrets.GPG_KEY }}'
- id: 'step-3'
name: 'Create APK'
uses: 'gradle/gradle-build-action@v3'
with:
arguments: 'assembleGithubRelease'
- id: 'step-4'
name: 'Create release'
uses: 'softprops/action-gh-release@v2'
with:
name: 'Version ${{ github.GITHUB_REF_NAME }}'
tag_name: '${{ github.GITHUB_REF_NAME }}'
draft: 'false'
files: |-
app/build/outputs/apk/github/release/app-github-release.apk
app/build/outputs/mapping/githubRelease/mapping.txt
app/build/outputs/mapping/githubRelease/configuration.txt
app/build/outputs/mapping/githubRelease/seeds.txt
app/build/outputs/mapping/githubRelease/usage.txt
- id: 'step-5'
name: 'Create Bundle'
uses: 'gradle/gradle-build-action@v3'
with:
arguments: 'clean bundlePlaystoreRelease'
- id: 'step-6'
uses: 'ruby/setup-ruby@v1'
with:
ruby-version: '3.2.3'
- id: 'step-7'
name: 'publish-playstore'
run: 'bundle config path vendor/bundle && bundle install --jobs 4 --retry 3 && bundle exec fastlane playstore'