Run on push to branch #1
Workflow file for this run
This file contains 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: Bump Internal Release | |
on: | |
push: | |
workflow_dispatch: | |
inputs: | |
asana-task-url: | |
description: "Asana release task URL" | |
required: true | |
type: string | |
jobs: | |
increment_build_number: | |
name: Increment Build Number | |
runs-on: macos-13 | |
timeout-minutes: 15 | |
steps: | |
- name: Check out the code | |
uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Select Xcode | |
run: sudo xcode-select -s /Applications/Xcode_$(<.xcode-version).app/Contents/Developer | |
- name: Prepare fastlane | |
run: bundle install | |
- name: Install xcbeautify | |
continue-on-error: true | |
run: brew install xcbeautify | |
- name: Increment build number | |
env: | |
APPLE_API_KEY_BASE64: ${{ secrets.APPLE_API_KEY_BASE64 }} | |
APPLE_API_KEY_ID: ${{ secrets.APPLE_API_KEY_ID }} | |
APPLE_API_KEY_ISSUER: ${{ secrets.APPLE_API_KEY_ISSUER }} | |
run: | | |
git config --global user.name "Dax the Duck" | |
git config --global user.email "[email protected]" | |
bundle exec fastlane bump_internal_release | |
- name: Prepare new release | |
uses: ./.github/workflows/release.yml | |
with: | |
asana-task-url: ${{ github.event.inputs.asana-task-url }} |