Skip to content

📱 develop - 12767600455 #81

📱 develop - 12767600455

📱 develop - 12767600455 #81

name: 📱 Build Mobile Artefact
run-name: "📱 ${{ github.ref_name }} - ${{ github.run_id }}"
on:
push:
branches:
- develop
tags:
- release-*
permissions:
id-token: write
contents: write
jobs:
get_release_branch:
outputs:
branch: ${{ steps.get_release_branch.outputs.branch }}
if: github.event_name == 'push' && startsWith(github.ref_name, 'release-')
runs-on: ubuntu-latest
steps:
- name: 🔍 Get Release Branch
id: get_release_branch
run: echo "branch=$(echo ${{ github.ref_name }} | cut -d '.' -f -3)" >> $GITHUB_OUTPUT
develop:
if: github.event_name == 'push' && github.ref_name == 'develop'
uses: dvsa/des-workflow-actions/.github/workflows/build-mobile-app.yaml@main
with:
runs-on: mito-2
branch: ${{ github.ref_name }}
environment: develop
config-type: test
build-simulator: true
secrets:
AWS_ROLE: ${{ secrets.DES_AWS_ROLE }}
release:
needs: get_release_branch
if: github.event_name == 'push' && startsWith(github.ref_name, 'release-')
uses: dvsa/des-workflow-actions/.github/workflows/build-mobile-app.yaml@main
with:
runs-on: mito-2
branch: ${{ needs.get_release_branch.outputs.branch }}
environment: release
config-type: dev
build-type: prod
build-ipa: true
secrets:
AWS_ROLE: ${{ secrets.DES_AWS_ROLE }}