Skip to content

Commit

Permalink
Add CI to upload to snapstore
Browse files Browse the repository at this point in the history
  • Loading branch information
muzzammilshahid committed Jun 29, 2024
1 parent bcefc98 commit 22f0cad
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/publish-snap.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Publish Snap to Snap store

on:
push:
branches:
- main

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

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

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

- name: Publish the snap
env:
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_STORE_CREDENTIALS }}
run: snapcraft upload wampproto_*.snap --release=edge

0 comments on commit 22f0cad

Please sign in to comment.