Skip to content

Commit

Permalink
refactor: Move snap to packages path (PRQL#2135)
Browse files Browse the repository at this point in the history
* refactor: Move `snap` to `packages` path

...in line with the broader refactor.

I'm not sure of the best way of testing this; our current `release.yaml` isn't really set up to test things. Possibly we wait until the next release and fix if it's broken -- not ideal but maybe the lowest cost approach?
  • Loading branch information
max-sixty authored Mar 13, 2023
1 parent 2849582 commit 142ecaa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@ jobs:
uses: actions/checkout@v3
- name: 📦 Build Snap
uses: snapcore/action-build@v1
with:
path: packages/
- name: 🆙 Publish Snap
uses: snapcore/action-publish@v1
env:
Expand Down
4 changes: 2 additions & 2 deletions snap/snapcraft.yaml → packages/snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ website: https://prql-lang.org/
license: Apache-2.0
grade: devel # must be 'stable' to release into candidate/stable channels
confinement: strict
icon: website/themes/prql-theme/static/icon.svg
icon: ../web/website/themes/prql-theme/static/icon.svg

parts:
prqlc:
plugin: rust
source: .
source: ..
rust-path: [prql-compiler/prqlc]

apps:
Expand Down

0 comments on commit 142ecaa

Please sign in to comment.