https://github.com/ryohidaka/action-restore-sqlite
GitHub Actions to restore SQLite DB from dump file.
https://github.com/ryohidaka/action-restore-sqlite
database dump github-actions sqlite sqlite3
Last synced: 5 months ago
JSON representation
GitHub Actions to restore SQLite DB from dump file.
- Host: GitHub
- URL: https://github.com/ryohidaka/action-restore-sqlite
- Owner: ryohidaka
- Created: 2024-10-16T09:38:23.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2025-01-27T06:12:01.000Z (6 months ago)
- Last Synced: 2025-01-27T07:21:43.448Z (6 months ago)
- Topics: database, dump, github-actions, sqlite, sqlite3
- Language: Shell
- Homepage:
- Size: 17.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# Restore SQLite
[](https://github.com/ryohidaka/action-restore-sqlite/releases/)
[](https://github.com/ryohidaka/action-restore-sqlite/actions/workflows/test.yml)GitHub Actions to restore SQLite DB from dump file.
## Usage
```yml
on: [push]jobs:
restore:
runs-on: ubuntu-latest
steps:
- uses: ryohidaka/[email protected]
with:
version: "3.43.2"
db: "sample.db"
dump-file: "sample.sql"
```## Inputs
| Input | Description | Required | Default |
| ----------- | ------------------------------------- | -------- | ---------- |
| `version` | SQLite version to install | | `"latest"` |
| `db` | The output SQLite database file name. | ✅ | |
| `dump-file` | The name of the dump file to use. | ✅ | |