Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 16 days 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 (about 1 month ago)
- Default Branch: main
- Last Pushed: 2024-10-16T10:17:52.000Z (about 1 month ago)
- Last Synced: 2024-10-18T00:31:29.438Z (about 1 month ago)
- Topics: database, dump, github-actions, sqlite, sqlite3
- Language: Shell
- Homepage:
- Size: 14.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
[![GitHub Release](https://img.shields.io/github/v/release/ryohidaka/action-restore-sqlite)](https://github.com/ryohidaka/action-restore-sqlite/releases/)
[![Test Action](https://github.com/ryohidaka/action-restore-sqlite/actions/workflows/test.yml/badge.svg)](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. | ✅ | |