{"id":17834791,"url":"https://github.com/animmouse/setup-age","last_synced_at":"2025-12-28T07:07:11.120Z","repository":{"id":103524456,"uuid":"594597565","full_name":"AnimMouse/setup-age","owner":"AnimMouse","description":"Setup/Install age for GitHub Actions","archived":false,"fork":false,"pushed_at":"2024-01-28T17:14:31.000Z","size":13,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-14T09:14:53.609Z","etag":null,"topics":["action","actions","age-encryption","github-actions"],"latest_commit_sha":null,"homepage":"https://github.com/marketplace/actions/setup-age-action","language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AnimMouse.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-01-29T03:03:26.000Z","updated_at":"2024-07-29T11:57:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"6716413c-2b55-4a90-ad84-3bb6c1cb0265","html_url":"https://github.com/AnimMouse/setup-age","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnimMouse%2Fsetup-age","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnimMouse%2Fsetup-age/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnimMouse%2Fsetup-age/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnimMouse%2Fsetup-age/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AnimMouse","download_url":"https://codeload.github.com/AnimMouse/setup-age/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246819786,"owners_count":20839095,"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","age-encryption","github-actions"],"created_at":"2024-10-27T20:11:25.186Z","updated_at":"2025-10-30T03:08:34.780Z","avatar_url":"https://github.com/AnimMouse.png","language":"PowerShell","readme":"# Setup age for GitHub Actions\nSetup [age](https://age-encryption.org) on GitHub Actions to use `age`.\n\nThis action installs [age](https://age-encryption.org) for use in actions by installing it on tool cache using [AnimMouse/tool-cache](https://github.com/AnimMouse/tool-cache).\n\nThis action is implemented as a [composite](https://docs.github.com/en/actions/creating-actions/creating-a-composite-action) action.\n\n## Usage\nTo use `age`, run this action before `age`.\n\n### Encrypt file\n```yaml\nsteps:\n  - name: Setup age\n    uses: AnimMouse/setup-age@v1\n    \n  - run: age -r age1heyeacwyv3jts97285vf7ksjczs2ple2fpf5uxghm993332pvv6sa5s8m5 -o file.txt.age file.txt\n```\n\n### Decrypt file\nPaste your age secret key to `AGE_SECRET_KEY` secret and use process substitution on the identity input.\n\n```yaml\nsteps:\n  - name: Setup age\n    uses: AnimMouse/setup-age@v1\n    \n  - run: age -d -i \u003c(echo $AGE_SECRET_KEY) -o file.txt file.txt.age\n    env:\n      AGE_SECRET_KEY: ${{ secrets.AGE_SECRET_KEY }}\n```\n\n### Generate a key pair\n```yaml\nsteps:\n  - name: Setup age\n    uses: AnimMouse/setup-age@v1\n    \n  - run: age-keygen\n```\n\n### Specific version\nYou can specify the version you want. By default, this action downloads the latest version if version is not specified.\n\n```yaml\nsteps:\n  - name: Setup age\n    uses: AnimMouse/setup-age@v1\n    with:\n      version: v1.1.1\n```\n\n### GitHub token\nThis action automatically uses a GitHub token in order to authenticate with GitHub API and avoid rate limiting. You can also specify your own read-only fine-grained personal access token.\n\n```yaml\nsteps:\n  - name: Setup age\n    uses: AnimMouse/setup-age@v1\n    with:\n      token: ${{ secrets.GH_PAT }}\n```\n\n#### Similar actions\n1. [alessiodionisi/setup-age-action](https://github.com/alessiodionisi/setup-age-action)\n2. [jacobsvante/setup-age-action](https://github.com/jacobsvante/setup-age-action)\n3. [jacobsvante/age-decrypt-action](https://github.com/jacobsvante/age-decrypt-action)","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanimmouse%2Fsetup-age","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanimmouse%2Fsetup-age","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanimmouse%2Fsetup-age/lists"}