Giter Club home page Giter Club logo

action-web-ext's People

Contributors

dependabot[bot] avatar kaespi avatar kewisch avatar mpeteuil avatar rugk avatar tatankat avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

action-web-ext's Issues

Support for uploading sources

Hi, thanks for the great action!

I'm using this for submit my extension, but firefox addon also need to submit source files when the dist files is minified.

are there any ways to figure out this?

How do I test signing against staging and dev AMO?

In the README it mentions:

Changing apiUrlPrefix will allow you to submit to addons.thunderbird.net or using the staging/dev instance.

I found the URLs for those instances in the Github addons-server repo and related docs, but have had a hard time trying to find out how to use those staging/dev instances for testing add-on signing. I was able to create an AMO account on the staging instance, but I don't seem to be able to generate API keys there since there's a confirmation email process but the staging environment doesn't send out emails (from what I can tell). I get the following message from https://addons.allizom.org/en-US/developers/addon/api/key/

A confirmation link will be sent to your email address. After confirmation you will find your API keys on this page.

Maybe this question is better posed somewhere else? I've found it difficult to find information about this generally available.

Guide for self-hosting betas via github actions

Hi Philipp,

we talked about this in London last year, but I didn't get to actually look into this until now.
From the readme, I can see how to build and upload an artifact, but what else is needed in order to self-host a beta version on github?

From what I gather, an update link is needed: https://extensionworkshop.com/documentation/manage/updating-your-extension/

But how do you maintain and serve this file via github? Via github pages?
It would be nice if the github action could automatically update the json and push it to a URL that stays the same.

Cheers

'Lint' fails because of lack of token?

Hi,
I see the README says that

A token is not required for this action, though if GITHUB_TOKEN is in the environment, it will be used to create a check run.

but a recent run on this action on the Shiori web-ext failed with:

call-lint / Lint Error: Parameter token or opts.auth is required

Between the fact the token is not supposed to be needed and that the GITHUB_TOKEN is added to the env in the setup job, i'm wondering if there isn't a bug somewhere.
Thanks!

Error while signing the firefox add-ons

Can you please guide me here with this issue, I have been trying to solve this but it keeps giving me a timeout error.

Error: Error: Signing took too long to complete; last status: {"guide":"<my-guid>","active":false,"automated_signing":true,"url":"https://addons.mozilla.org/api/v5/addons/guid/versions/1.0.3/uploads/209ae4ff65894279abac119e22c100d0/","files":[{"download_url":"https://addons.mozilla.org/api/v5/file/3848030/xxx-1.0.3-an+fx.xpi","hash":"sha256:010377edd327eda45cbe4797c59e84bd2ec0e9c6761c0368c719fc3e06a75555","signed":false}],"passed_review":null,"pk":"209ae4ff65894279abac119e22c100d0","processed":true,"reviewed":null,"valid":true,"valid...

Last time it ran for almost 6 hours and then gave the timeout error, the fact that I explored this error and find that the delay is caused by AMO and they updated the message explaining what the cause was, here is the link. So I think the pipeline should not be giving error in this scenario. As the pipeline give an error I'm unable to drop the artefact for the download.

Kindly guide me here.
Thanks

Arch dependent optional deps are not included

Hi @kewisch 👋, using the current rev, I'm hitting an error running the action with the action installed as a submodule local to the repo I'm using it from:

Error: Cannot find module '@node-rs/crc32-linux-x64-gnu'

This looks to be due to the arch specific deps not being part of the committed node_modules. A temporary workaround is possible by adding a step which runs npm install like so:

      - name: workaround missing dep in action-web-ext
        working-directory: .github/actions/action-web-ext
        run: npm install

Remove and ignore the `node_modules` directory

I noticed this repository has included the node_modules directory. This causes the git repository to be quite large in size. Are there any reasons for keeping it? I noticed the .gitignore file even explicitly allows it.

Error while signing my extension

I tried to use your github action like explained in the documentation (here) but got this error:

Run kewisch/action-web-ext@v1
  with:
    cmd: sign
    source: web-ext-artifacts/ecoindex-1.2.zip
    channel: unlisted
    apiKey: ***
    apiSecret: ***
    timeout: 900000
    artifacts: web-ext-artifacts
    verbose: false
    progressBar: false
    ignoreFiles: []
    apiUrlPrefix: https://addons.mozilla.org/api/v4
  env:
    GITHUB_TOKEN: ***
Error: Error: Must specify an add-on id in the manifest at browser_specific_settings.gecko.id
Error: Must specify an add-on id in the manifest at browser_specific_settings.gecko.id
    at WebExtAction.cmd_sign (file:///home/runner/work/_actions/kewisch/action-web-ext/v1/src/action.js:142:15)
    at async main (file:///home/runner/work/_actions/kewisch/action-web-ext/v1/src/index.js:40:16)

Not sure where I was wrong... Do you have an idea ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.