mirror of
https://github.com/tj-actions/install-postgresql.git
synced 2024-12-20 01:18:18 +00:00
97 lines
4.5 KiB
Markdown
97 lines
4.5 KiB
Markdown
[](https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on)
|
|
[](https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on)
|
|
[](https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on)
|
|
[](https://github.com/search?o=desc\&q=tj-actions+install-postgresql+language%3AYAML\&s=\&type=Code)
|
|
|
|
[](https://github.com/tj-actions/setup-postgresql/actions?query=workflow%3ACI)
|
|
[](https://github.com/tj-actions/setup-postgresql/actions?query=workflow%3A%22Update+release+version.%22)
|
|
|
|
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
|
|
|
|
[](#contributors-)
|
|
|
|
<!-- ALL-CONTRIBUTORS-BADGE:END -->
|
|
|
|
## install-postgresql
|
|
|
|
This Github action installs PostgreSQL on the GitHub actions runner and verifies the installation.
|
|
|
|
```yaml
|
|
...
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Setup PostgreSQL
|
|
uses: tj-actions/install-postgresql@v3
|
|
with:
|
|
postgresql-version: 16
|
|
```
|
|
|
|
> \[!NOTE]
|
|
>
|
|
> * This updates the pre-installed PostgreSQL version on the action runner with the specified version and updates the PATH.
|
|
|
|
## Inputs
|
|
|
|
<!-- AUTO-DOC-INPUT:START - Do not remove or modify this section -->
|
|
|
|
| INPUT | TYPE | REQUIRED | DEFAULT | DESCRIPTION |
|
|
|----------------------------------------------------------------------------------------|--------|----------|---------|-------------------------------|
|
|
| <a name="input_postgresql-version"></a>[postgresql-version](#input_postgresql-version) | string | true | | Version of PostgreSQL. e.g 16 |
|
|
|
|
<!-- AUTO-DOC-INPUT:END -->
|
|
|
|
## Known Limitations
|
|
|
|
> \[!WARNING]
|
|
>
|
|
> * Slow to install on Windows runners.
|
|
|
|
* Free software: [MIT license](LICENSE)
|
|
|
|
If you feel generous and want to show some extra appreciation:
|
|
|
|
[![Buy me a coffee][buymeacoffee-shield]][buymeacoffee]
|
|
|
|
[buymeacoffee]: https://www.buymeacoffee.com/jackton1
|
|
|
|
[buymeacoffee-shield]: https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png
|
|
|
|
## Credits
|
|
|
|
This package was created with [Cookiecutter](https://github.com/cookiecutter/cookiecutter) using [cookiecutter-action](https://github.com/tj-actions/cookiecutter-action)
|
|
|
|
## Report Bugs
|
|
|
|
Report bugs at https://github.com/tj-actions/setup-postgresql/issues.
|
|
|
|
If you are reporting a bug, please include:
|
|
|
|
* Your operating system name and version.
|
|
* Any details about your workflow that might be helpful in troubleshooting.
|
|
* Detailed steps to reproduce the bug.
|
|
|
|
## Contributors ✨
|
|
|
|
Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
|
|
|
|
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
|
|
|
|
<!-- prettier-ignore-start -->
|
|
|
|
<!-- markdownlint-disable -->
|
|
|
|
<table>
|
|
<tbody>
|
|
<tr>
|
|
<td align="center" valign="top" width="14.28%"><a href="http://brennancolberg.com"><img src="https://avatars.githubusercontent.com/u/14948341?v=4?s=100" width="100px;" alt="Brennan Colberg"/><br /><sub><b>Brennan Colberg</b></sub></a><br /><a href="https://github.com/tj-actions/install-postgresql/commits?author=BrennanColberg" title="Code">💻</a> <a href="https://github.com/tj-actions/install-postgresql/commits?author=BrennanColberg" title="Documentation">📖</a> <a href="https://github.com/tj-actions/install-postgresql/commits?author=BrennanColberg" title="Tests">⚠️</a></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
<!-- markdownlint-restore -->
|
|
|
|
<!-- prettier-ignore-end -->
|
|
|
|
<!-- ALL-CONTRIBUTORS-LIST:END -->
|
|
|
|
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!
|