Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions .github/workflows/build-publish-snap.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Build & Publish Snap

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
build-publish-snap:
runs-on: ubuntu-latest

steps:
- name: checkout git repository
uses: actions/checkout@v6

- name: Build the snap
uses: snapcore/action-build@v1
with:
snapcraft-channel: 8.x/stable

- name: Publish the snap
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
env:
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_STORE_CREDENTIALS }}
run: snapcraft upload wick_*.snap --release=edge
26 changes: 26 additions & 0 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: wick
base: core24
version: git
summary: WAMP in Command-line
description: |
WAMP in Command-line

grade: stable
confinement: strict
compression: lzo

parts:
wick:
plugin: rust
source: .
build-packages:
- pkg-config
- libssl-dev

apps:
wick:
command: bin/wcli
plugs:
- network
- network-bind
- home
Loading