Skip to content
Snippets Groups Projects
Unverified Commit 80093b85 authored by Dawid Dziurla's avatar Dawid Dziurla Committed by GitHub
Browse files

Merge pull request #8446 from Homebrew/dawidd6-patch-1

workflows/tapioca: reset earlier
parents af5c32a3 0c94fac2
No related branches found
No related tags found
No related merge requests found
......@@ -35,16 +35,17 @@ jobs:
run: |
cd "$GITHUB_WORKSPACE/Library/Homebrew"
git fetch origin master
git reset --hard origin/master
git checkout -B tapioca-update
# TODO: replace with `brew typecheck`
bundle exec tapioca sync --exclude json
bundle exec srb rbi hidden-definitions
git fetch origin master
git reset --hard origin/master
git checkout -B tapioca-update
git add sorbet
if ! git diff --no-patch --exit-code HEAD -- sorbet; then
if ! git diff --no-patch --exit-code -- sorbet; then
if ! git ls-remote --exit-code --heads origin tapioca-update >/dev/null; then
git add sorbet
git commit -m "sorbet: update RBI files using Tapioca." -m "Autogenerated by [a scheduled GitHub Action](https://github.com/Homebrew/brew/blob/master/.github/workflows/tapioca.yml)."
echo "::set-output name=committed::true"
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment