Some checks failed
Build and release release apps to production track / Get version (pull_request) Successful in 31s
Build and release release apps to production track / Build and upload ios app (pull_request) Failing after 1m57s
Build and release release apps to production track / Build and upload android app (pull_request) Successful in 14m52s
51 lines
1.6 KiB
YAML
51 lines
1.6 KiB
YAML
on:
|
|
push:
|
|
tags:
|
|
- v*
|
|
|
|
name: Build and release release apps to production track
|
|
|
|
jobs:
|
|
get-version:
|
|
name: Get version
|
|
runs-on: macos
|
|
steps:
|
|
- uses: https://gitea.com/actions/checkout@v4
|
|
- name: Get version from git tag
|
|
id: version
|
|
env:
|
|
REF_NAME: ${{ gitea.ref_name }}
|
|
# remove the 'v' prefix from the tag name
|
|
run: |
|
|
echo "BUILD_NAME=${REF_NAME//v}" >> $GITHUB_ENV
|
|
|
|
|
|
build-android:
|
|
name: Build and upload android app
|
|
uses: ./.gitea/workflows/workflow_build-app-android.yaml
|
|
with:
|
|
build_type: release
|
|
build_name: ${{ env.BUILD_NAME }}
|
|
secrets:
|
|
ANDROID_SECRET_PROPERTIES_BASE64: ${{ secrets.ANDROID_SECRET_PROPERTIES_BASE64 }}
|
|
ANDROID_GOOGLE_PLAY_JSON_BASE64: ${{ secrets.ANDROID_GOOGLE_PLAY_JSON_BASE64 }}
|
|
ANDROID_KEYSTORE_BASE64: ${{ secrets.ANDROID_KEYSTORE_BASE64 }}
|
|
ANDROID_GOOGLE_MAPS_API_KEY: ${{ secrets.ANDROID_GOOGLE_MAPS_API_KEY }}
|
|
needs: get-version
|
|
|
|
build-ios:
|
|
name: Build and upload ios app
|
|
uses: ./.gitea/workflows/workflow_build-app-ios.yaml
|
|
with:
|
|
build_type: release
|
|
build_name: ${{ env.BUILD_NAME }}
|
|
secrets:
|
|
MATCH_REPO_SSH_KEY: ${{ secrets.MATCH_REPO_SSH_KEY }}
|
|
GOOGLE_MAPS_API_KEY: ${{ secrets.GOOGLE_MAPS_API_KEY }}
|
|
IOS_ASC_KEY_ID: ${{ secrets.IOS_ASC_KEY_ID }}
|
|
IOS_ASC_ISSUER_ID: ${{ secrets.IOS_ASC_ISSUER_ID }}
|
|
IOS_ASC_KEY: ${{ secrets.IOS_ASC_KEY }}
|
|
MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }}
|
|
IOS_GOOGLE_MAPS_API_KEY: ${{ secrets.IOS_GOOGLE_MAPS_API_KEY }}
|
|
needs: get-version
|