Skip to content

release.yml

release.yml #30

Workflow file for this run

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
- run: brew install getsentry/tools/sentry-cli
shell: sh
- 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 }}
- name: Archive Raw Build Log
uses: actions/upload-artifact@v3
with:
name: raw-build-log
path: release-build.log