{"id":20405640,"url":"https://github.com/nitrictech/setup-nitric","last_synced_at":"2025-05-08T13:31:12.148Z","repository":{"id":40550290,"uuid":"474811545","full_name":"nitrictech/setup-nitric","owner":"nitrictech","description":"Make nitric available for GitHub actions","archived":false,"fork":false,"pushed_at":"2024-01-02T23:13:14.000Z","size":96,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-01-03T01:17:07.760Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nitrictech.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":"2022-03-28T01:57:28.000Z","updated_at":"2024-01-03T01:17:07.761Z","dependencies_parsed_at":"2022-08-09T22:51:13.509Z","dependency_job_id":null,"html_url":"https://github.com/nitrictech/setup-nitric","commit_stats":null,"previous_names":[],"tags_count":1,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nitrictech%2Fsetup-nitric","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nitrictech%2Fsetup-nitric/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nitrictech%2Fsetup-nitric/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nitrictech%2Fsetup-nitric/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nitrictech","download_url":"https://codeload.github.com/nitrictech/setup-nitric/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224732041,"owners_count":17360417,"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":[],"created_at":"2024-11-15T05:12:15.953Z","updated_at":"2024-11-15T05:12:16.435Z","avatar_url":"https://github.com/nitrictech.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Nitric Actions\n\n### Deprecation notice\n\n**Warning** This action has been deprecated.\n\nPlease use the [nitrictech/actions](https://github.com/nitrictech/actions) action\nin [installation only mode](https://github.com/nitrictech/actions#installation-only).\n\n#### Migrating to nitrictech/actions\n\nTo migrate, switch to `nitrictech/actions@v1`.\n\n\u003ctable\u003e\n\u003cthead\u003e\u003ctr\u003e\u003ctd\u003eBefore\u003c/td\u003e\u003ctd\u003eAfter\u003c/td\u003e\u003c/tr\u003e\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\u003ctd\u003e\n\n```yaml\n- name: Install nitric\n  uses: nitrictech/setup-nitric@v1\n```\n\n---\n\n```yaml\n- name: Install nitric\n  uses: nitrictech/setup-nitric@v1\n  with:\n    version: 1.32.0\n```\n\n\u003c/td\u003e\u003ctd\u003e\n\n```yaml\n- name: Install nitric\n  uses: nitrictech/actions@v1\n```\n\n---\n\n```yaml\n- name: Install nitric\n  uses: nitrictech/actions@v1\n  with:\n    version: 1.32.0\n```\n\n\u003c/td\u003e\u003c/tr\u003e\n\n\u003c/tbody\u003e\n\u003c/table\u003e\n\n## Introduction\n\nNitric's GitHub Setup exposes the Nitric CLI to your GitHub workflow so that you can run any command you wish using actions.\n\n\u003e Note: Action runner must be set to linux, as MacOS runner does not include docker and Windows VMs are limited in depth.\n\n```yaml\nruns-on: ubuntu-latest\n```\n\n## Build\n\nTo update your changes, rebuild the dist folder with the following command -\n\n```bash\nnpm run build\n```\n\n## Inputs\n\n```yaml\nversion:\n  description: Version of the CLI being used\n  required: false\n  default: 1.2.1\n```\n\n## Example workflow\n\n```yaml\nname: Sample configuration to deploy to AWS\non:\n  workflow_dispatch:\n  push:\n    branches:\n      - main\nenv:\n  PULUMI_CONFIG_PASSPHRASE: ${{ secrets.PULUMI_CONFIG_PASSPHRASE }}\n  PULUMI_ACCESS_TOKEN: ${{ secrets.PULUMI_ACCESS_TOKEN }}\njobs:\n  update:\n    name: Deploy\n    runs-on: ubuntu-latest\n    steps:\n      - name: Configure AWS Credentials\n        uses: aws-actions/configure-aws-credentials@v1\n        with:\n          aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          aws-region: ${{ secrets.AWS_REGION }}\n          aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n      - name: Install Nitric CLI\n        uses: nitrictech/setup-nitric@v1\n        with:\n          version: 1.2.1\n      - name: Install dependencies\n        uses: pulumi/setup-pulumi@v2\n      - name: Checkout project\n        uses: actions/checkout@v3\n      - name: Resolve packages\n        run: npm install\n      - name: Deploy stack to aws\n        run: nitric up -s dev -v0\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnitrictech%2Fsetup-nitric","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnitrictech%2Fsetup-nitric","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnitrictech%2Fsetup-nitric/lists"}