Skip to content

PIA-1864: Downgrade to 15.0.1 (#151) #115

PIA-1864: Downgrade to 15.0.1 (#151)

PIA-1864: Downgrade to 15.0.1 (#151) #115

name: development_build
on:
push:
branches:
- master
workflow_dispatch:
concurrency:
group: "${{ github.run_id }}"
cancel-in-progress: true
jobs:
development_build:
runs-on: macos-14
env:
CERTIFICATE_PASSWORD: ${{ secrets.DEVELOPER_CERTIFICATE_PASSWORD }}
KEYCHAIN_NAME: ${{ secrets.KEYCHAIN_NAME }}
KEYCHAIN_PASSWORD: ${{ secrets.KEYCHAIN_PASSWORD }}
APP_STORE_CONNECT_KEY_ID: ${{ secrets.APP_STORE_CONNECT_KEY_ID }}
APP_STORE_CONNECT_ISSUER_ID: ${{ secrets.APP_STORE_CONNECT_ISSUER_ID }}
APP_STORE_CONNECT_KEY: ${{ secrets.APP_STORE_CONNECT_KEY }}
steps:
- name: Setup Git credentials
run: |
git config --global url."https://${{ secrets.ORG_GITHUB_USERNAME }}:${{ secrets.ORG_GITHUB_TOKEN }}@github.com/".insteadOf "git@github.com:"
- uses: actions/checkout@v3
- name: Select XCode version
run: sudo xcode-select -s /Applications/Xcode_15.2.app
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.0.2
- name: Install Fastlane
run: gem install fastlane
- name: Decode Developer Certificates
run: echo "${{ secrets.DEVELOPER_IOS_CERTIFICATE }}" | base64 --decode > ./fastlane/Certificate.p12
- name: Set up development certificates and profiles
run: bundle exec fastlane get_development_profiles > /dev/null 2>&1
- name: Create artifacts dir
run: mkdir artifacts
- name: Archive development build
run: bundle exec fastlane development_build
- name: Upload development ipa file
uses: actions/upload-artifact@v4
with:
path: artifacts/