Checkout branch within version bump script #2
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-build-number | |
on: | |
push: #TODO remove before merging | |
workflow_dispatch: | |
schedule: | |
- cron: '0 18 * * 5' # Run every Friday, at 6PM | |
permissions: | |
contents: write | |
jobs: | |
bump-build-number: | |
# This is required to run on MacOS | |
runs-on: macos-latest | |
steps: | |
- name: bump-build-number/checkout-repo | |
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 | |
with: | |
fetch-depth: 0 | |
- name: bump-build-number/setup-ruby | |
uses: ruby/setup-ruby@9669f3ee51dc3f4eda8447ab696b3ab19a90d14b # v1.144.0 | |
with: | |
ruby-version: "2.7" | |
working-directory: fastlane | |
bundler-cache: true | |
- name: bump-build-number/bump-build-number | |
run: ./scripts/bump_build_number.sh | |
... |