Skip to content

Commit

Permalink
GH Build Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
kz6fittycent committed Oct 24, 2023
1 parent 774f62d commit ea53ad6
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 0 deletions.
Empty file added .build-trigger.txt
Empty file.
29 changes: 29 additions & 0 deletions .github/issue_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Please follow the general troubleshooting steps first:

- [ ] Try running `snap run cornyjokes`
- [ ] Refreshing the snap to ensure you have the latest `stable` version
- [ ] Restart `snapd`

* Expected behavior -


* Observed behavior -


* OS Info -


* Snap version (`snap info cornyjokes`) -


* Snapd version (run `snap --version`)


* Logs can be pasted here -


---

### Consider contributing to this project with a PR ###

https://github.com/kz6fittycent/cornyjokes/pulls
25 changes: 25 additions & 0 deletions .github/workflows/test-snap-can-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: 🧪 Test snap can be built on x86_64

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:
runs-on: ubuntu-latest

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

0 comments on commit ea53ad6

Please sign in to comment.