sjbarag / brs

An interpreter for the BrightScript language that runs on non-Roku platforms.
MIT License
113 stars 43 forks source link

fix(nightly): fetch two commits to detect commits-since-last-build #641

Closed sjbarag closed 3 years ago

sjbarag commented 3 years ago

The default behavior for GitHub's actions/checkout@v2 only fetches the latest commit [1], so our previous attempts to detect commits "since last night's nightly build" always failed. Fetch two commits to make it possible to detect commits in main within the past 25 hours.

[1] https://github.com/actions/checkout/tree/25a956c84d5dd820d28caab9f86b8d183aeeff3d#checkout-v2

sjbarag commented 3 years ago

Merged without review because this only impacts the nightly build (which currently succeeds but doesn't do anything), and I want to make sure things work when this runs at 10:05am PT 😄