https://github.com/ryohidaka/action-dump-sqlite
GitHub Actions to generate SQLite database dump files.
https://github.com/ryohidaka/action-dump-sqlite
database dump dumper github-actions sqlite sqlite3
Last synced: about 2 months ago
JSON representation
GitHub Actions to generate SQLite database dump files.
- Host: GitHub
- URL: https://github.com/ryohidaka/action-dump-sqlite
- Owner: ryohidaka
- License: mit
- Created: 2024-10-09T11:17:33.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-27T10:14:54.000Z (over 1 year ago)
- Last Synced: 2025-01-27T11:38:07.791Z (over 1 year ago)
- Topics: database, dump, dumper, github-actions, sqlite, sqlite3
- Language: Shell
- Homepage: https://github.com/marketplace/actions/dump-sqlite
- Size: 21.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# action-dump-sqlite
[](https://github.com/ryohidaka/action-dump-sqlite/releases/)
[](https://github.com/ryohidaka/action-dump-sqlite/actions/workflows/test.yml)
[](https://opensource.org/licenses/MIT)
GitHub Actions to generate SQLite database dump files.
## Usage
```yml
on: [push]
permissions:
contents: write
jobs:
dump-sql:
runs-on: ubuntu-latest
steps:
- uses: ryohidaka/action-dump-sqlite@v0.1.0
with:
version: "3.43.2"
db: "sample.db"
output: "sample.sql"
tables: "samples1, samples2"
```
## Inputs
| Input | Description | Required | Default |
| --------- | -------------------------------------------- | -------- | ---------- |
| `version` | SQLite version to install. | | `"latest"` |
| `db` | The name of the SQLite database file to use. | ✅ | |
| `output` | The output file name for the SQL dump. | ✅ | |
| `tables` | Comma-separated list of table names to dump. | | `""` |