kheina-com / Blue-Blocker

Blocks all Twitter Blue verified users on twitter.com
Mozilla Public License 2.0
326 stars 29 forks source link

Add Release Workflow #248

Closed kheina closed 3 months ago

kheina commented 3 months ago

Blue Blocker has obtained a life outside of my own efforts. To that end, I did what I could to add a new github workflow that would allow others to just create a github release and the workflow should just build and upload everything automatically

I haven't tested this yet because I'm honestly not sure how you would go about doing that without making a new release. But, I've created the necessary tokens and they are already in the repo secrets so everything should be there to make it work.

here are the actions I used in case anyone wants to double check my work: https://github.com/marketplace/actions/publish-firefox-add-on https://github.com/marketplace/actions/chrome-extension-upload-publish

Changelog

rougetimelord commented 3 months ago

Yippie!

cooljeanius commented 3 months ago

I got the following output from actionlint on the added workflow:

$ actionlint
.github/workflows/release.yml:10:5: unexpected key "output" for "job" section. expected one of "concurrency", "container", "continue-on-error", "defaults", "env", "environment", "if", "name", "needs", "outputs", "permissions", "runs-on", "secrets", "services", "steps", "strategy", "timeout-minutes", "uses", "with" [syntax-check]
   |
10 |     output:
   |     ^~~~~~~
.github/workflows/release.yml:33:5: unexpected key "output" for "job" section. expected one of "concurrency", "container", "continue-on-error", "defaults", "env", "environment", "if", "name", "needs", "outputs", "permissions", "runs-on", "secrets", "services", "steps", "strategy", "timeout-minutes", "uses", "with" [syntax-check]
   |
33 |     output:
   |     ^~~~~~~
kheina commented 3 months ago

I got the following output from actionlint on the added workflow:

$ actionlint
.github/workflows/release.yml:10:5: unexpected key "output" for "job" section. expected one of "concurrency", "container", "continue-on-error", "defaults", "env", "environment", "if", "name", "needs", "outputs", "permissions", "runs-on", "secrets", "services", "steps", "strategy", "timeout-minutes", "uses", "with" [syntax-check]
   |
10 |     output:
   |     ^~~~~~~
.github/workflows/release.yml:33:5: unexpected key "output" for "job" section. expected one of "concurrency", "container", "continue-on-error", "defaults", "env", "environment", "if", "name", "needs", "outputs", "permissions", "runs-on", "secrets", "services", "steps", "strategy", "timeout-minutes", "uses", "with" [syntax-check]
   |
33 |     output:
   |     ^~~~~~~

oh, it's outputs my bad

jaredcat commented 3 months ago

Petition to call this a "wokeflow"

rougetimelord commented 3 months ago

Going ahead with squashing and merging