Skip to content

Commit

Permalink
Merge pull request #192 from soumyaDghosh/snap-workflow
Browse files Browse the repository at this point in the history
ci: added a build test ci for snap
  • Loading branch information
Ph0enixKM committed Jun 15, 2024
2 parents d3c5487 + 9d91289 commit 45b987a
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/snap.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Build test Amber Snap
on:
push:
branches:
- master
pull_request:
workflow_dispatch:

jobs:
snap:
name: Build snap
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: snapcore/action-build@v1
id: snapcraft
- uses: actions/upload-artifact@v4
if: ${{ github.event_name == 'release' }} #uploads the snap only if it's a release
with:
name: amber-snap
path: ${{ steps.snapcraft.outputs.snap }}

0 comments on commit 45b987a

Please sign in to comment.