Skip to content
This repository has been archived by the owner on Nov 19, 2023. It is now read-only.

Commit

Permalink
Merge pull request #7 from prql/homebrew
Browse files Browse the repository at this point in the history
Adds GH action for publishing to homebrew-prql-query tap
  • Loading branch information
Tobias Brandt authored Oct 17, 2022
2 parents 4e38e46 + 1788862 commit c7f7ce8
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 2 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,3 +90,22 @@ jobs:
push: true
tags: ${{ steps.meta.output.tags }}
labels: ${{ steps.meta.outputs.labels }}

brew-dispatcher:
name: Release on homebrew-prql-query
runs-on: ubuntu-latest
steps:
- uses: actions/github-script@v6
with:
github-token: ${{ secrets.HOMEBREW_PRQL_QUERY_TOKEN}}
script: |
await github.rest.actions.createWorkflowDispatch({
owner: 'prql',
repo: 'homebrew-prql-query',
workflow_id: 'update.yml',
ref: 'main',
inputs: {
version: '${{ github.ref }}',
URL: 'https://github.com/prql/prql-query/archive/${{ github.ref }}.tar.gz'
}
})
5 changes: 3 additions & 2 deletions TODO.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,10 @@
* [x] Add support for PostgreSQL through DuckDB
* [x] Add support for SQLite through DuckDB
* [x] Add support for ?currentSchema=schema option postgres URI
* [x] Publish to crates.io
* [x] Publish to DockerHub/ghcr.io
* [x] Publish to homebrew
* [ ] Add tests
* [ ] Publish to crates.io
* [ ] Publish to homebrew
* [ ] Add pq-builder volume to speed up Docker builds
* [ ] Use an Enum for the backend checks/enumeration
* [ ] Add connectorx support (Postgresql, MySQL)
Expand Down

0 comments on commit c7f7ce8

Please sign in to comment.