-
-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* core22 upgrade and workflow snap test builds in github * forgot go build snap * name * oops * update README * adopt-info added * added janky icon * fix spaces * added original interfaces back in
- Loading branch information
1 parent
2f8e927
commit ddc4ecc
Showing
4 changed files
with
60 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: 🧪 Snap Builds | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
node-version: [20.x] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- uses: snapcore/action-build@v1 | ||
id: build | ||
|
||
- uses: diddlesnaps/snapcraft-review-action@v1 | ||
with: | ||
snap: ${{ steps.build.outputs.snap }} | ||
isClassic: 'false' | ||
# Plugs and Slots declarations to override default denial (requires store assertion to publish) | ||
# plugs: ./plug-declaration.json | ||
# slots: ./slot-declaration.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,45 @@ | ||
name: s-search | ||
base: core18 # the base snap is the execution environment for this snap | ||
version: git | ||
base: core22 | ||
adopt-info: s-search | ||
summary: Open a web search in your terminal. | ||
description: | | ||
Web search from the terminal. Just opens in your browser. | ||
grade: stable | ||
confinement: strict | ||
|
||
parts: | ||
s: | ||
plugin: go | ||
source: . | ||
go-importpath: github.com/zquestz/s | ||
build-packages: | ||
- gcc | ||
source-code: https://github.com/zquestz/s | ||
issues: https://github.com/zquestz/s/issues | ||
contact: https://github.com/zquestz/s | ||
license: MIT | ||
icon: snap/local/s.png | ||
|
||
architectures: | ||
- build-on: amd64 | ||
- build-on: s390x | ||
- build-on: armhf | ||
- build-on: arm64 | ||
- build-on: ppc64el | ||
|
||
apps: | ||
s-search: | ||
command: s | ||
command: bin/s | ||
plugs: | ||
- desktop | ||
- network | ||
- network-bind | ||
- desktop | ||
|
||
parts: | ||
s-search: | ||
source: https://github.com/zquestz/s | ||
source-type: git | ||
plugin: go | ||
build-snaps: | ||
- go | ||
|
||
build-packages: | ||
- gcc | ||
|
||
override-pull: | | ||
craftctl default | ||
craftctl set version="$(git describe --tags | sed 's/^v//' | cut -d "-" -f1)" |