Bump up PIALibrary (#181) #143
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: development_build | |
| on: | |
| push: | |
| branches: | |
| - master | |
| workflow_dispatch: | |
| concurrency: | |
| group: "${{ github.run_id }}" | |
| cancel-in-progress: true | |
| jobs: | |
| development_build: | |
| runs-on: macos-15 | |
| 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_16.2.0.app | |
| - name: Set up Ruby | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: 3.3.5 | |
| - 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: Archive staging development build | |
| run: bundle exec fastlane staging_build | |
| - name: Upload development ipa file | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| path: artifacts/ | |