XDream8 / revanced-creator

Create Revanced apps easily ☠️
MIT License
257 stars 62 forks source link

Automatize actions builds #9

Closed giuseppe998e closed 2 years ago

giuseppe998e commented 2 years ago

I was thinking that you could automate actions builds whenever a new version is released in the revanced-patches(or/and others) repo, using IFTTT (https://ifttt.com/github/triggers/any_new_release) and GitHub webhooks.

XDream8 commented 2 years ago

instead of that i can make CI run once everyday with cron

giuseppe998e commented 2 years ago

From my point of view I would rather see a new build having the confidence of an actual patches update, instead of seeing a new build every day having to go and check on the other repo whether or not it is the same as the one from the day before

XDream8 commented 2 years ago

I tried IFTTT but it does not let me run a github-action.

XDream8 commented 2 years ago

it may be possible with this and IFTTT

XDream8 commented 2 years ago

I tested it and it does not work

giuseppe998e commented 2 years ago

You might try using this method

XDream8 commented 2 years ago

found this, I will try this later

XDream8 commented 2 years ago

done, we will see if this works

Created a workflow to check new releases, this runs everyday at 10 am. If there is a new release this workflow updates release-versions/patches-latest.md

Then I updated CI workflow to run on commits to release-versions/patches-latest.md

XDream8 commented 2 years ago

it seems to be working

TheJeterLP commented 2 years ago

Created a workflow to check new releases, this runs everyday at 10 am.

Currently it runs every hour, could you change that? It runs so often that it's hard to find the real action

XDream8 commented 2 years ago

How about we run it once for every 6 hour or every 12 hour?

TheJeterLP commented 2 years ago

How about we run it once for every 6 hour or every 12 hour?

Sounds good