{"id":15510395,"url":"https://github.com/nowlinuxing/action-release-gem","last_synced_at":"2026-04-13T22:02:50.849Z","repository":{"id":44048826,"uuid":"219396698","full_name":"nowlinuxing/action-release-gem","owner":"nowlinuxing","description":null,"archived":false,"fork":false,"pushed_at":"2023-01-05T00:03:28.000Z","size":1153,"stargazers_count":0,"open_issues_count":13,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-02-11T01:58:41.252Z","etag":null,"topics":["github-actions","ruby","rubygems"],"latest_commit_sha":null,"homepage":null,"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/nowlinuxing.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":null,"security":null,"support":null}},"created_at":"2019-11-04T01:58:58.000Z","updated_at":"2020-02-27T07:21:42.000Z","dependencies_parsed_at":"2023-02-03T01:00:25.173Z","dependency_job_id":null,"html_url":"https://github.com/nowlinuxing/action-release-gem","commit_stats":{"total_commits":24,"total_committers":3,"mean_commits":8.0,"dds":"0.20833333333333337","last_synced_commit":"a499882da34aebdacb2eaa5e31c5e43334893072"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":"actions/typescript-action","purl":"pkg:github/nowlinuxing/action-release-gem","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nowlinuxing%2Faction-release-gem","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nowlinuxing%2Faction-release-gem/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nowlinuxing%2Faction-release-gem/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nowlinuxing%2Faction-release-gem/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nowlinuxing","download_url":"https://codeload.github.com/nowlinuxing/action-release-gem/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nowlinuxing%2Faction-release-gem/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31772642,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T20:17:16.280Z","status":"ssl_error","status_checked_at":"2026-04-13T20:17:08.216Z","response_time":93,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["github-actions","ruby","rubygems"],"created_at":"2024-10-02T09:48:19.756Z","updated_at":"2026-04-13T22:02:50.826Z","avatar_url":"https://github.com/nowlinuxing.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# action-release-gem\n\nRelease your gem automatically.\n\n* Create a tag on your github repository in GitHub\n* Build a gem and push to rubygems.org\n\n## Usage\n\n```yaml\n# .github/workflows/release_gem.yml\non:\n  push:\n    branches:\n      - master\n\njobs:\n  build:\n    name: Build + Publish\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@master\n\n      # Require ruby to execute gem command\n      - name: Set up Ruby 2.6\n        uses: actions/setup-ruby@v1\n        with:\n          version: 2.6.x\n\n      - name: Create a tag and release to rubygems.org\n        uses: nowlinuxing/action-release-gem@v1\n        env:\n          GEM_HOST_API_KEY: ${{secrets.RUBYGEMS_AUTH_TOKEN}}\n          GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}\n```\n\n```sh\n$ git add lib/yourgem/version.rb\n$ git commit -m 'Bump version'\n$ git push origin master\n```\n\n## Code in Master\n\nInstall the dependencies  \n```bash\n$ npm install\n```\n\nBuild the typescript\n```bash\n$ npm run build\n```\n\nRun the tests :heavy_check_mark:  \n```bash\n$ npm test\n```\n\n## Publish to a distribution branch\n\nActions are run from GitHub repos.  We will create a releases branch and only checkin production modules (core in this case). \n\nComment out node_modules in .gitignore and create a releases/v1 branch\n```bash\n# comment out in distribution branches\n# node_modules/\n```\n\n```bash\n$ git checkout -b releases/v1\n$ git commit -a -m \"prod dependencies\"\n```\n\n```bash\n$ npm prune --production\n$ git add node_modules\n$ git commit -a -m \"prod dependencies\"\n$ git push origin releases/v1\n```\n\nYour action is now published! :rocket: \n\nSee the [versioning documentation](https://github.com/actions/toolkit/blob/master/docs/action-versioning.md)\n\n## Validate\n\nYou can now validate the action by referencing the releases/v1 branch\n\n```yaml\nuses: actions/action-release-gem@releases/v1\n```\n\nSee the [actions tab](https://github.com/actions/javascript-action/actions) for runs of this action! :rocket:\n\n## Usage:\n\nAfter testing you can [create a v1 tag](https://github.com/actions/toolkit/blob/master/docs/action-versioning.md) to reference the stable and tested action\n\n```yaml\nuses: actions/action-release-gem@v1\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnowlinuxing%2Faction-release-gem","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnowlinuxing%2Faction-release-gem","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnowlinuxing%2Faction-release-gem/lists"}