Code Monkey home page Code Monkey logo

generate-update-manifest's Introduction

Generate Update Manifest Action

Lint Codebase Continuous Integration Code Coverage

This action generates an update manifest file for self distributed Firefox addons based on the releases. Recommended to be used with GitHub Pages or any other static file hoster.

Note: This action only works on public repositories, as releases on private repositories are not publicly accessible.

Inputs

addon-id

Required The ID of the addon. Can be found under the technical details section in the extension overview on https://addons.mozilla.org. For example: {f05c7275-f183-4f0a-87ed-e3e61fc9ae0a} or [email protected].

output-file

The path to the generated update manifest file. Defaults to ./updates.json.

github-token

GitHub token to retrieve releases with. Defaults to ${{ github.token }}.

repository

The repository to retrieve releases from. Defaults to ${{ github.repository }}. For example: 2zqa/startpagina.

asset-filter

A glob pattern to filter the assets by. For example: *.xpi.

Outputs

manifest

The path to the generated update manifest file. Equal to the input output-file.

Example usage

Note: Make sure that you match only one asset with the asset-filter input. Otherwise the action will pick the first asset that matches the filter.

uses: 2zqa/generate-update-manifest@v1
with:
  addon-id: ${{ env.ADDON_ID }}
  asset-filter: '*.xpi'

License

This project is licensed under the MIT License.

Contributing

This project welcomes contributions and suggestions. Please open an issue or create a pull request to contribute.

This project follows the Action Versioning workflow.

Further reading

generate-update-manifest's People

Contributors

2zqa avatar dependabot[bot] avatar

Stargazers

 avatar  avatar

generate-update-manifest's Issues

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.