release.yml #42
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: Release | |
on: | |
workflow_dispatch: | |
inputs: | |
version: | |
description: Version to release | |
required: true | |
jobs: | |
empower-plant-release: | |
name: Release Build of EmpowerPlant | |
runs-on: macos-13 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Sentry CLI | |
uses: mathieu-bour/[email protected] | |
with: | |
version: 2.21.2 | |
token: ${{ secrets.SENTRY_AUTH_TOKEN }} | |
- uses: ruby/setup-ruby@v1 | |
with: | |
bundler-cache: true | |
- name: Cache CocoaPods installation | |
id: cache_cocoapods | |
uses: actions/cache@v3 | |
with: | |
path: ./Pods | |
key: cocoapods-install-${{ hashFiles('./Podfile.lock') }} | |
- run: bundle exec pod install | |
if: steps.cache_cocoapods.outputs.cache-hit != 'true' | |
shell: sh | |
- name: Run Deploy Script | |
run: ./deploy_project.sh ${{ github.event.inputs.version }} ${{ secrets.SENTRY_ORG }} ${{ secrets.SENTRY_PROJECT }} ${{ secrets.SENTRY_AUTH_TOKEN }} | |
shell: sh | |
env: | |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} |