correctly infer build information
Some checks failed
Build and release release apps to production track / Get version (pull_request) Has been cancelled
Build and release release apps to production track / Build and upload ios app (pull_request) Has been cancelled
Build and release release apps to production track / Build and upload android app (pull_request) Has been cancelled

This commit is contained in:
Remy Moll 2025-04-20 00:11:36 +02:00
parent 4b708b74a3
commit 56a30a2eba
2 changed files with 12 additions and 6 deletions

View File

@ -12,6 +12,7 @@ jobs:
name: Get version
runs-on: macos
steps:
- uses: https://gitea.com/actions/checkout@v4
- name: Fetch tags from main branch
# since this workflow is triggered by a pull request, we want to match the latest tag of the main branch
id: version
@ -25,19 +26,20 @@ jobs:
name: Build and upload android app
uses: ./.gitea/workflows/workflow_build-app-android.yaml
with:
type: beta
build_type: beta
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:
type: beta
build_type: beta
build_name: ${{ env.BUILD_NAME }}
secrets:
MATCH_REPO_SSH_KEY: ${{ secrets.MATCH_REPO_SSH_KEY }}
@ -47,3 +49,4 @@ jobs:
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

View File

@ -10,6 +10,7 @@ jobs:
name: Get version
runs-on: macos
steps:
- uses: https://gitea.com/actions/checkout@v4
- name: Get version from git tag
id: version
env:
@ -23,19 +24,20 @@ jobs:
name: Build and upload android app
uses: ./.gitea/workflows/workflow_build-app-android.yaml
with:
type: release
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:
type: release
build_type: release
build_name: ${{ env.BUILD_NAME }}
secrets:
MATCH_REPO_SSH_KEY: ${{ secrets.MATCH_REPO_SSH_KEY }}
@ -45,3 +47,4 @@ jobs:
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