Skip to content

Update CLI to v3.5.1 #42

Update CLI to v3.5.1

Update CLI to v3.5.1 #42

Workflow file for this run

on:
- pull_request
jobs:
install_formula:
runs-on: macos-11
steps:
-
name: Checkout
uses: actions/checkout@v2
-
name: Install rainforest-cli
run: |
brew install --formula ./Formula/rainforest-cli.rb
-
name: Check rainforest works
env:
URL: ${{ github.event.pull_request.comments_url }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
REF: ${{ github.event.pull_request.head.ref }}
run: |
VERSION=`rainforest --version --skip-update`
echo $VERSION
curl \
-X POST \
$URL \
-H "Content-Type: application/json" \
-H "Authorization: token $GITHUB_TOKEN" \
--data "{ \"body\": \"This update reported its version as \`$VERSION\` and we're on branch \`$REF\` 🤞\" }"