{"id":23654135,"url":"https://github.com/mnao305/chrome-extension-upload","last_synced_at":"2025-04-13T06:37:22.620Z","repository":{"id":42516061,"uuid":"258843722","full_name":"mnao305/chrome-extension-upload","owner":"mnao305","description":"upload \u0026 publish extensions to the Chrome Web Store.","archived":false,"fork":false,"pushed_at":"2024-02-03T06:55:06.000Z","size":509,"stargazers_count":114,"open_issues_count":2,"forks_count":15,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-04T03:02:40.258Z","etag":null,"topics":["action","actions","chrome-extension","release","upload"],"latest_commit_sha":null,"homepage":"https://github.com/marketplace/actions/chrome-extension-upload-action","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mnao305.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["mnao305"],"custom":["paypal.me/mnao305"]}},"created_at":"2020-04-25T18:17:12.000Z","updated_at":"2025-04-02T14:17:44.000Z","dependencies_parsed_at":"2024-02-03T07:32:22.384Z","dependency_job_id":"7bdffa26-14eb-46f8-aea1-8d7e843250c5","html_url":"https://github.com/mnao305/chrome-extension-upload","commit_stats":{"total_commits":52,"total_committers":8,"mean_commits":6.5,"dds":0.5769230769230769,"last_synced_commit":"87fce6ab215bee16c229c52fad3103869c3d225b"},"previous_names":[],"tags_count":10,"template":false,"template_full_name":"actions/typescript-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mnao305%2Fchrome-extension-upload","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mnao305%2Fchrome-extension-upload/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mnao305%2Fchrome-extension-upload/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mnao305%2Fchrome-extension-upload/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mnao305","download_url":"https://codeload.github.com/mnao305/chrome-extension-upload/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248675347,"owners_count":21143763,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["action","actions","chrome-extension","release","upload"],"created_at":"2024-12-28T18:43:23.180Z","updated_at":"2025-04-13T06:37:22.579Z","avatar_url":"https://github.com/mnao305.png","language":"TypeScript","funding_links":["https://github.com/sponsors/mnao305","paypal.me/mnao305"],"categories":[],"sub_categories":[],"readme":"# chrome-extension-upload\n\nThis Action allows you to automatically upload and publish browser extensions to the Chrome web store.\n\nThis action is a wrapper for [chrome-webstore-upload](https://github.com/fregante/chrome-webstore-upload).\n\n## Input variables\n\n| name          | required | description                                                                                                                                                          |\n| ------------- | -------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| file-path     | true     | The path to the zip file. ex. `dist/hoge.zip`                                                                                                                        |\n| extension-id  | true     |                                                                                                                                                                      |\n| client-id     | true     |                                                                                                                                                                      |\n| client-secret | true     |                                                                                                                                                                      |  |\n| refresh-token | true     |                                                                                                                                                                      |\n| glob          | false    | If you set it to true, you can specify the file as a glob pattern.\u003cbr\u003ePlease note that only the first match will be uploaded.                                        |\n| publish       | false    | If you set it to false, the extension will not be published. Default as true.\u003cbr\u003eUse this option if you want to upload the extension but not publish it for testing. |\n\nWant to know how to make a CLIENT ID, etc.?  \n[Reference link](https://github.com/DrewML/chrome-webstore-upload/blob/master/How%20to%20generate%20Google%20API%20keys.md)\n\n## Usage\n\nSimple example:\n\n```yaml\nname: Publish\n\non:\n  push:\n    tags:\n      - '*'\n\njobs:\n  build:\n    name: Publish webextension\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v1\n    - uses: actions/setup-node@v1\n      with:\n        node-version: 20\n    - name: Build\n      run: |\n        npm ci\n        npm run build\n    - name: Upload \u0026 release\n      uses: mnao305/chrome-extension-upload@v5.0.0\n      with:\n        file-path: dist/file.zip\n        extension-id: hogefuga(extension id)\n        client-id: ${{ secrets.CLIENT_ID }}\n        client-secret: ${{ secrets.CLIENT_SECRET }}\n        refresh-token: ${{ secrets.REFRESH_TOKEN }}\n```\n\nExample with `glob`:\n\n```yaml\nname: Publish\n\non:\n  push:\n    tags:\n      - '*'\n\njobs:\n  build:\n    name: Publish webextension\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v1\n    - uses: actions/setup-node@v1\n      with:\n        node-version: 20\n    - name: Build\n      run: |\n        npm ci\n        npm run build\n    - name: Upload \u0026 release\n      uses: mnao305/chrome-extension-upload@v5.0.0\n      with:\n        file-path: dist/*.zip\n        extension-id: hogefuga(extension id)\n        client-id: ${{ secrets.CLIENT_ID }}\n        client-secret: ${{ secrets.CLIENT_SECRET }}\n        refresh-token: ${{ secrets.REFRESH_TOKEN }}\n        glob: true\n```\n\nExample with `publish` for testing:\n\n```yaml\nname: Test\n\non:\n  push:\n    tags:\n      - '*'\n\njobs:\n  build:\n    name: Publish webextension\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v1\n    - uses: actions/setup-node@v1\n      with:\n        node-version: 20\n    - name: Build\n      run: |\n        npm ci\n        npm run build\n    - name: Upload \u0026 release\n      uses: mnao305/chrome-extension-upload@v5.0.0\n      with:\n        file-path: dist/file.zip\n        extension-id: hogefuga(extension id)\n        client-id: ${{ secrets.CLIENT_ID }}\n        client-secret: ${{ secrets.CLIENT_SECRET }}\n        refresh-token: ${{ secrets.REFRESH_TOKEN }}\n        publish: false\n```\n\nExample with `publish-target` for publishing to `trustedTesters`:\n\n```yaml\nname: Test\n\non:\n  push:\n    tags:\n      - '*'\n\njobs:\n  build:\n    name: Publish webextension\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v1\n    - uses: actions/setup-node@v1\n      with:\n        node-version: 20\n    - name: Build\n      run: |\n        npm ci\n        npm run build\n    - name: Upload \u0026 release\n      uses: mnao305/chrome-extension-upload@v5.0.0\n      with:\n        file-path: dist/file.zip\n        extension-id: hogefuga(extension id)\n        client-id: ${{ secrets.CLIENT_ID }}\n        client-secret: ${{ secrets.CLIENT_SECRET }}\n        refresh-token: ${{ secrets.REFRESH_TOKEN }}\n        publish-target: trustedTesters\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmnao305%2Fchrome-extension-upload","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmnao305%2Fchrome-extension-upload","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmnao305%2Fchrome-extension-upload/lists"}