-
Notifications
You must be signed in to change notification settings - Fork 0
Add GitHub Actions workflow that check SQLite release #1
Conversation
This looks good to me. Lets have it check every day though instead of just once a week. Once it's merged, we'll need to comment out the bottle section of the formula too so Homebrew doesn't keep on trying to use the (old) bottles. 😄 |
k, I just hit the button. Are you ok to take care of the settings changes? 😄 |
Sure! Go ahead. |
I've just removed the "bottles" section from the SQLite formula. I'll leave the Settings changes to you. 😄 |
In theory, if we check back tomorrow then the formula should be updated for SQLite 3.41.2, like in your fork. 😄 |
Unfortunately, I don't have access to the settings :( |
That's right, it's about 19 hours away, which may be a little late as mentioned above. |
k, try again now. I didn't realise this repo wasn't in our |
Awesome, great work @lucydodo. You've saved me a bunch of work with this one, and made sure these nightly builds are always fresh too. 😄 |
Haha I'm glad it helped. |
Interesting to note: About 55 minutes ago, it was midnight UTC, so I was waiting for the workflow to work. For now, let's wait a big longer. |
The workflow ran fine 26 minutes ago. (https://github.com/sqlitebrowser/homebrew-sqlite3/actions/runs/4522027340) |
Awesome. Timing wise, with it running pretty much any time each day should be fine. 😄 |
This patch checks for the latest version of SQLite and patches the formula if SQLite has been updated.
This PR related to discussion #3297
Workflow work conditions
Test results (Fork)
When the workflow confirm for a new release of SQLite
Action generates a commit for the new release of SQLite. (https://github.com/lucydodo/homebrew-sqlite3/commit/ea5b54cd9d1788814e28f841dc61ec8679dcbfb2 / Job)
When the workflow confirm for a no new release of SQLite
We can see that the workflow skips the 'Commit and Push' job. (Job)
Required action before merge PR
In Settings -> Actions, set the following:
Allow all actions and reusable workflows
Read and write permissions
Please feel free to review it. Thanks! 😄