{"id":28514345,"url":"https://github.com/wintercms/setup-winter-action","last_synced_at":"2026-01-30T19:33:12.552Z","repository":{"id":292081129,"uuid":"979755052","full_name":"wintercms/setup-winter-action","owner":"wintercms","description":"GitHub Action to setup a Winter install","archived":false,"fork":false,"pushed_at":"2025-07-26T07:33:50.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-28T06:27:00.777Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"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/wintercms.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,"zenodo":null},"funding":{"github":"wintercms","open_collective":"wintercms"}},"created_at":"2025-05-08T02:47:03.000Z","updated_at":"2025-07-26T07:30:07.000Z","dependencies_parsed_at":"2025-08-05T22:33:33.535Z","dependency_job_id":"18b592ba-f0b6-4637-ba72-b029b90a6a83","html_url":"https://github.com/wintercms/setup-winter-action","commit_stats":null,"previous_names":["wintercms/setup-winter-action"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/wintercms/setup-winter-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wintercms%2Fsetup-winter-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wintercms%2Fsetup-winter-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wintercms%2Fsetup-winter-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wintercms%2Fsetup-winter-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wintercms","download_url":"https://codeload.github.com/wintercms/setup-winter-action/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wintercms%2Fsetup-winter-action/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28918221,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-30T19:10:10.838Z","status":"ssl_error","status_checked_at":"2026-01-30T19:06:40.573Z","response_time":66,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":"2025-06-09T01:36:30.830Z","updated_at":"2026-01-30T19:33:12.547Z","avatar_url":"https://github.com/wintercms.png","language":null,"funding_links":["https://github.com/sponsors/wintercms","https://opencollective.com/wintercms"],"categories":[],"sub_categories":[],"readme":"# ❄️ Setup Winter Action\n\nThis GitHub Action sets up a PHP environment suitable for running [Winter](https://github.com/wintercms/winter) and a fresh Winter installation. This is useful for running automated tests or checks for Winter plugins.\n\nThe Action works by doing the following:\n\n- Checks out the [Winter repository](https://github.com/wintercms/winter) in the current working directory. By default, this will be the current development version, but can be configured to a version or branch of your choosing.\n- Optionally, checks out the current repository as a plugin.\n- Sets up a PHP environment using the [Setup PHP](https://github.com/shivammathur/setup-php) GitHub Action.\n- Downloads all necessary Composer dependencies.\n\n## Usage\n\nYou may include this as a step in your own GitHub Action workflow file, by using the following step definition:\n\n```yaml\n- name: Setup Winter\n  uses: wintercms/setup-winter-action@v1\n```\n\nThis should be placed under the `steps` definition of a job within your workflow.\n\nThe Setup Winter action has properties that may be used to configure how the environment is set up. These should be included under the `with` definition for the step:\n\nProperty | Default | Description\n-------- | ------- | -----------\n`php-version` | `'8.4'` | Defines the PHP version to install using the [Setup PHP](https://github.com/shivammathur/setup-php) GitHub Action.\n`winter-ref` | `'develop'` | Defines the Winter version to install. This is a \"ref\" based on the [Winter repository](https://github.com/wintercms/winter), so you may use either a version such as `v1.2.7` or a branch name such as `develop`.\n`plugin-name` and `plugin-author` | None | When both of these properties are defined, the current repository running the action will be checked out in the `plugins` directory using these values as the plugin location. For example, using `winter` as the `plugin-author` and `location` as the `plugin-name` will check out the current repository to `plugins/winter/location`. In addition, the Composer merge plugin will be configured to also include dependencies from your plugin, if a `composer.json` exists in your plugin.\n`configure-winter` | None | If `true`, the Winter installation will also go through configuration steps into a working state. This is useful if you want to quickly *use* any Winter functionality in your CI tasks. This will run the Artisan commands `winter:env`, `key:generate` and sets up a temporary SQLite database and runs the migrations.\n`admin-password` | `'admin'` | If you configure Winter, this will define the password for the default `admin` account. If this installation will be accessible in any way to an external system or the Internet, it is strongly recommended that you define a password using a secret.\n\nFor example, to set up your current repository as a plugin within Winter and test it against PHP 8.3, you could do the following:\n\n```yaml\n- name: Setup Winter\n  uses: wintercms/setup-winter-action@v1\n  with:\n    php-version: '8.3'\n    plugin-author: 'myauthor'\n    plugin-name: 'myplugin'\n```\n\nBy default, no configuration of Winter is done to allow you to define and conduct your own configuration in your automated tasks. If you want to quickly spool a working version of Winter, with a temporary SQLite database and admin account, you can use the `configure-winter` and `admin-password` properties:\n\n```yaml\n- name: Setup Winter\n  uses: wintercms/setup-winter-action@v1\n  with:\n    php-version: '8.3'\n    plugin-author: 'myauthor'\n    plugin-name: 'myplugin'\n    configure-winter: true\n    admin-password: '${{ secrets.MY_ADMIN_PASSWORD }}'\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwintercms%2Fsetup-winter-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwintercms%2Fsetup-winter-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwintercms%2Fsetup-winter-action/lists"}