{"id":16454106,"url":"https://github.com/zhiqingchen/taro-react-native-release","last_synced_at":"2025-03-21T05:30:43.344Z","repository":{"id":37786309,"uuid":"425775218","full_name":"zhiqingchen/taro-react-native-release","owner":"zhiqingchen","description":"Use this action to package your Taro React Native project and generate bundles for Android and iOS.","archived":false,"fork":false,"pushed_at":"2023-05-19T23:07:16.000Z","size":2625,"stargazers_count":8,"open_issues_count":15,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-09T22:20:14.488Z","etag":null,"topics":["actions","android","github-actions","ios","react","react-native","taro","typescript"],"latest_commit_sha":null,"homepage":"","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/zhiqingchen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-11-08T09:32:00.000Z","updated_at":"2024-11-19T12:04:51.000Z","dependencies_parsed_at":"2024-09-27T13:00:43.640Z","dependency_job_id":"f274ab29-2bd9-467b-a9b8-e36e90f62957","html_url":"https://github.com/zhiqingchen/taro-react-native-release","commit_stats":{"total_commits":21,"total_committers":3,"mean_commits":7.0,"dds":0.5714285714285714,"last_synced_commit":"b0412c58af9ee2c662b979fda2af9961a82dfc9e"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":"actions/typescript-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhiqingchen%2Ftaro-react-native-release","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhiqingchen%2Ftaro-react-native-release/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhiqingchen%2Ftaro-react-native-release/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhiqingchen%2Ftaro-react-native-release/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zhiqingchen","download_url":"https://codeload.github.com/zhiqingchen/taro-react-native-release/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244117271,"owners_count":20400742,"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":["actions","android","github-actions","ios","react","react-native","taro","typescript"],"created_at":"2024-10-11T10:18:01.543Z","updated_at":"2025-03-21T05:30:42.761Z","avatar_url":"https://github.com/zhiqingchen.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Github action for bundle taro react native project\n\nUse this action to package your [Taro React Native](https://docs.taro.zone/) project and generate bundles for Android and iOS. Others can use [Taro Playground APP](https://github.com/wuba/taro-playground) to load the bundle for project preview.\n\nMake it easier to share your ideas.\n\n## Attention\n\n0. Your React Native version and dependencies must be compatible with the [Taro Playground APP](https://github.com/wuba/taro-playground/blob/main/package.json). \n1. Taro version needs to be greater than or equal to 3.3.13.\n2. add `!release/**` to the `.gitignore` file.\n## Workflow\n\n1. Execute `yarn build:rn` to build the bundle.\n2. Generate a [Taro Playground APP](https://github.com/wuba/taro-playground) protocol, including platform, name, logo and bundle url.\n3. Export the protocol to a file with a QR code.\n4. Commit the changes.\n5. If `GITHUB_REF_NAME` is tag\n   1. Delete the original tag and re-tag it.\n   2. Generate a release, including the QR code and other information.\n6. If `GITHUB_REF_NAME` is branch\n   1. Push the changes to the branch.\n\n## Usage\n\n### Basic Config\n\n```yml\non:\n  push:\n    tags: [ v* ]\n  workflow_dispatch:\n\njobs:\n  taro_release_job:\n    runs-on: ubuntu-latest\n    name: Taro Bundle Release\n    steps:\n      - name: Release Taro React Native bundle\n        uses: zhiqingchen/taro-react-native-release@v1\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n          appname: Taro-Mortgage-calculator\n          logo: https://pic3.58cdn.com.cn/nowater/fangfe/n_v25b1523466b894881b9bdeda7618a8af2.png\n```\n\n### Options\n\nsee [action.yml](./action.yml) for details.\n\n### Examples\n\n0. [Taro-Mortgage-Calculator](https://github.com/wuba/Taro-Mortgage-Calculator/tree/master/.github/workflows/main.yml)\n1. [rick-and-morty-wiki](https://github.com/rick-and-morty-wiki/rick-and-morty-wiki/blob/master/.github/workflows/main.yml)\n2. [Taro-UI](https://github.com/wuba/taro-ui-rn/blob/feature-support-rn/.github/workflows/rn-release.yml)\n\n## Acknowledgements\n\nWe use [jsDelivr](https://www.jsdelivr.com/?docs=gh) as the cdn service.\n## LICENSE\n\nThe MIT License (MIT)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhiqingchen%2Ftaro-react-native-release","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzhiqingchen%2Ftaro-react-native-release","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhiqingchen%2Ftaro-react-native-release/lists"}