GOVUKAPP-1299 App version number announced separately (#302) #228
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Alpha | |
on: | |
push: | |
branches: | |
- develop | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }}-alpha | |
cancel-in-progress: true | |
jobs: | |
lint: | |
uses: ./.github/workflows/lint.yml | |
unit-test: | |
uses: ./.github/workflows/unit_test.yml | |
sonar-scan: | |
uses: ./.github/workflows/sonar_scan_branch.yml | |
needs: unit-test | |
secrets: | |
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} | |
deploy: | |
name: Deploy | |
needs: sonar-scan | |
runs-on: macos-15 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # [email protected] | |
with: | |
lfs: 'true' | |
fetch-depth: 0 | |
- name: Setup Ruby | |
uses: ruby/setup-ruby@a2bbe5b1b236842c1cb7dd11e8e3b51e0a616acc # [email protected] | |
with: | |
bundler-cache: true | |
- name: Select xcode | |
run: xcodes select | |
- name: Deploy | |
run: bundle exec fastlane alpha | |
env: | |
APP_STORE_KEY_CONTENT: ${{ secrets.APP_STORE_KEY_CONTENT }} | |
APP_STORE_KEY_ID: ${{ secrets.APP_STORE_KEY_ID }} | |
APP_STORE_KEY_ISSUER_ID: ${{ secrets.APP_STORE_KEY_ISSUER_ID }} | |
APP_STORE_USERNAME: ${{ secrets.APP_STORE_USERNAME }} | |
MATCH_CERTIFICATE_TOKEN: ${{ secrets.MATCH_CERTIFICATE_TOKEN }} | |
MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }} | |
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }} | |
ONESIGNAL_APP_ID: ${{ env.ONESIGNAL_APP_ID }} | |
- name: Save Artifacts | |
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # [email protected] | |
with: | |
name: build-output | |
path: build_output |