{"id":16011052,"url":"https://github.com/ethomson/actions.sh","last_synced_at":"2026-01-29T00:03:43.282Z","repository":{"id":149438184,"uuid":"259261953","full_name":"ethomson/actions.sh","owner":"ethomson","description":"bash helpers for GitHub Actions","archived":false,"fork":false,"pushed_at":"2024-06-12T15:51:05.000Z","size":3,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-03T11:11:48.742Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ethomson.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2020-04-27T09:08:40.000Z","updated_at":"2020-04-27T12:56:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"7321b939-bbd6-47e7-b36b-8d550ebdcc43","html_url":"https://github.com/ethomson/actions.sh","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ethomson/actions.sh","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ethomson%2Factions.sh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ethomson%2Factions.sh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ethomson%2Factions.sh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ethomson%2Factions.sh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ethomson","download_url":"https://codeload.github.com/ethomson/actions.sh/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ethomson%2Factions.sh/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28856911,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-28T22:56:21.783Z","status":"ssl_error","status_checked_at":"2026-01-28T22:56:00.861Z","response_time":57,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":[],"created_at":"2024-10-08T13:22:57.937Z","updated_at":"2026-01-29T00:03:43.267Z","avatar_url":"https://github.com/ethomson.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bash helpers for GitHub Actions\n\nGitHub Actions has several [workflow commands](https://help.github.com/en/actions/reference/workflow-commands-for-github-actions) that are available for use within the ecosystem.  If you're building an _action_, then you can use the [GitHub Actions Toolkit](https://github.com/actions/toolkit), which will provide first class support for these commands.  If you're building a workflow, then this bash library may help.\n\n## Usage\n\nCheck this script in to your repository (you can put it in the `.github/workflows` folder, where it will be ignored).  Then you can `source` this script in a `run` step of your workflow.\n\nFor example, to set a variable in a step in your workflow:\n\n```yaml\nname: Set a variable\non:\n  push:\n    branches: [ master ]\njobs:\n  variable:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Set a variable\n      id: setter\n      run: |\n        source .github/workflows/actions.sh\n        set_output varname $'my\\nvariable\\ndata'\n    - name: Display a variable\n      run: echo ${{ steps.setter.outputs.varname }}\n```\n\n## Commands\n\n### `set_output`\n\nSets a variable that can be used by subsequent steps.  Carriage returns (`\\r`) and newlines (`\\n`) will be escaped for preservation.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fethomson%2Factions.sh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fethomson%2Factions.sh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fethomson%2Factions.sh/lists"}